/* 
* My Penchaan - Custom CSS
* Bootstrap 4 Template
*/

:root {
    --primary-color: #00B2A9; /* Teal color for buttons and accent */
    --secondary-color: #14315C; /* Navy blue for header */
    --light-color: #f8f9fa;
    --dark-color: #333;
    --text-color: #14315C; /* Navy text */
    --card-color: #ffffff;
    --bg-color: #f5f5f7; /* Light gray background */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* App Container - Proper Flexbox Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--card-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Content wrapper for proper spacing */
.content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: calc(100vh - 120px); /* Account for header/footer */
}

/* Main content area */
.main-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

/* Header */
.app-header {
    background-color: var(--secondary-color);
    padding: 20px;
    color: white;
    text-align: left;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-icon {
   background-image: url(../img/logo2.png);
    /* background-color: white; */
    width: 40px;
    height: 46px;
    border-radius: 0%;
    display: flex
;
    /* align-items: center; */
    justify-content: center;
    margin-right: 15px;
    margin-top: -9px;
}

.logo-icon i {
    color: var(--secondary-color);
    font-size: 20px;
}

.logo-text h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.logo-text p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

/* Main Content */
.app-content {
    padding: 30px 20px;
}

/* Biometric Illustration */
.biometric-illustration {
    padding: 20px 0 40px;
}

.hand-container {
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hand {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBkPSJNMjAsMzBjMCwwLDIwLDIwLDIwLDIwczEwLDEwLDIwLDBjMTAtMTAsMjAtMjAsMjAtMjAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0YyQzY5NiIgc3Ryb2tlLXdpZHRoPSIxMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
    width: 80px;
    height: 100px;
    position: absolute;
}

.left-hand {
    left: 20px;
    background-image: url('../img/left.png');
    transform: rotate(10deg);
}

.right-hand {
    right: 20px;
    transform: scaleX(-1) rotate(10deg);
        background-image: url('../img/right.png')
}
/*
.fingerprint {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(0, 178, 169, 0.1);
    border: 2px solid var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-size: 80%;
    background-image: url('../img/myfinger.png');
    background-position: center;
    background-repeat: no-repeat;
}*/
.fingerprint {
    width: 100%;
    height: 223px;
    /* border-radius: 100%; */
    background-color: rgba(0, 178, 169, 0.1);
    /* border: 2px solid var(--primary-color); */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-size: 122%;
    background-image: url(../img/myfinger.png);
    background-position: center;
    background-repeat: no-repeat;
}
/* Welcome Text */
.welcome-text h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Language Selection */
.language-selection {
    margin: 20px 0 40px;
}

.lang-btn {
    width: 100%;
    padding: 12px 5px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.lang-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(0, 178, 169, 0.05);
}

.lang-btn:focus {
    outline: none;
}

/* Continue Button */
.continue-btn-container {
    padding: 10px 0;
}

.btn-continue {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    background-color: #00a099;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 178, 169, 0.3);
}

.btn-continue:focus {
    outline: none;
}

.btn-continue.clicked {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(0, 178, 169, 0.3);
}

/* Styles for Why My Penchaan page (2.html) */
.app-header-minimal {
    background-color: var(--bg-color);
    padding: 30px 20px;
    text-align: left;
}

.logo-minimal {
    display: flex;
    align-items: flex-start;
}

.logo-minimal .logo-text h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-top: 5px;
}

.description-text {
    margin-bottom: 25px;
}

.description-text p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
}

.security-box {
    background-color: #FFF5E0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.security-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dark-color);
    font-weight: 500;
}

/* Styles for Register page (3.html) */
.app-header-full {
    background-color: var(--secondary-color);
    padding: 20px;
    text-align: center;
}

.logo-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-centered .logo-icon {
    margin-right: 0;
    margin-bottom: 10px;
}

.logo-centered .logo-text h1 {
    color: white;
    margin: 0;
}

.page-title {
    margin-bottom: 30px;
}

.page-title h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-color);
}

.registration-form label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.registration-form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.consent-checkbox {
    margin: 20px 0;
}

.consent-checkbox.custom-control-label {
   font-weight: 500;
    padding-left: 24px;

    margin-top: -24px;
}

.consent-checkbox small {
    display: block;
    padding-left: 32px;
    font-size: 12px;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Button as link */
a.btn-continue {
    display: block;
    text-align: center;
    text-decoration: none;
    color: white;
}

a.btn-continue:hover {
    color: white;
    text-decoration: none;
}

/* Pricing Page Styles (4.html) */
.pricing-details {
    margin-bottom: 25px;
}

.price-row {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.price-label {
    font-size: 16px;
    color: var(--text-color);
}

.price-amount {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.payment-options h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.payment-option {
    margin-bottom: 15px;
}

.payment-radio input[type="radio"] {
    display: none;
}

.payment-radio label {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.payment-radio input[type="radio"]:checked + label:after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 50%;
}

.payment-icon {
    font-size: 18px;
    color: #777;
}

.payment-label {
    font-size: 16px;
    color: var(--text-color);
}

.secured-text {
    color: #777;
    font-size: 14px;
}

/* Aadhaar Verification Page (5.html) */
.app-header-step {
    background-color: var(--secondary-color);
    padding: 15px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-counter {
    font-size: 14px;
    font-weight: 500;
}

.logo-right {
    display: flex;
    align-items: center;
}

.logo-right .logo-icon {
    margin-right: 8px;
    width: 30px;
    height: 30px;
}

.logo-right .logo-text h1 {
    font-size: 18px;
    margin: 0;
}

.verification-form .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
}

.btn-fetch {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-fetch:hover {
    background-color: #00a099;
}

.btn-fetch.clicked {
    transform: scale(0.98);
}

.preview-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.preview-title {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.preview-content {
    display: flex;
    justify-content: space-between;
}

.preview-details {
    flex: 1;
}

.preview-item {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.preview-photo {
    width: 100px;
    height: 100px;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder i {
    font-size: 40px;
    color: #999;
}

/* Document Linking Page (6.html) */
.app-header-full {
    background-color: var(--secondary-color);
    padding: 15px 20px;
    color: white;
}

.header-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.step-info {
    font-size: 14px;
    color: var(--text-color);
}

.step-optional {
    color: #666;
}

.document-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}

.doc-icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.doc-icon-box i {
    font-size: 18px;
}

.document-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.btn-upload {
    background-color: #f0f0f0;
    color: var(--text-color);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-upload:hover {
    background-color: #e0e0e0;
}

.btn-upload.clicked {
    transform: scale(0.95);
}

/* Residence Declaration (7.html) */
.declaration-box {
    padding: 20px 10px;
}

.declaration-check .custom-control-label {
    font-size: 16px;
    line-height: 1.5;
    padding-top: 2px;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Proof of Residence (8.html) */
.proof-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}

.proof-icon {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.proof-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.btn-upload-teal {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-upload-teal:hover {
    background-color: #00a099;
}

.btn-upload-teal.clicked {
    transform: scale(0.95);
}

/* Live Location (9.html) */
.subtitle {
    font-size: 14px;
    color: #666;
    margin-top: -5px;
}

.map-container {
    padding: 20px 0;
}

.map-box {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e9f0f5;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMDAgMzAwIj48cGF0aCBkPSJNMCwwIEwzMDAsMCBMMzAwLDMwMCBMMCwzMDAiIGZpbGw9IiNlOWYwZjUiLz48cGF0aCBkPSJNMTAwLDEwMCBDMTAwLDEwMCAyMDAsMTAwIDIwMCwxMDAgQzIwMCwxMDAgMjAwLDIwMCAyMDAsMjAwIEMyMDAsMjAwIDEwMCwyMDAgMTAwLDIwMCBDMTAwLDIwMCAxMDAsMTAwIDEwMCwxMDAiIHN0cm9rZT0iI2FkZDhlNiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIi8+PGNpcmNsZSBjeD0iMTUwIiBjeT0iMTUwIiByPSI1MCIgZmlsbD0iI2FkZDhlNiIgZmlsbC1vcGFjaXR5PSIwLjMiLz48L3N2Zz4=');
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 30px;
}

/* Address Verification Summary (10.html) */
.address-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}

.address-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.status-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.status-icon.verified {
    background-color: #4CAF50;
}

.status-icon.warning {
    background-color: #FF9800;
}
 .main-wrapper{
      margin-top:95px!important;  
    }
/* Responsive Adjustments */
@media (max-width: 575.98px) {
    .app-container {
        height: 100%;
        max-width: 100%;
        border-radius: 0;
    }
    .main-wrapper{
      margin-top:95px;  
    }
}

@media (min-width: 576px) {
    .app-container {
        margin: 20px auto;
    }
    .main-wrapper{
      margin-top:95px!important;  
    }
}
