/* ==========================================
   AUTHENTICATION & PROFILE PAGES STYLING
   ========================================== */

/* Enhanced Complete Profile & Sign-up Pages */
.sign-up-page {
    background: #fff;
    padding: 60px 0;
    min-height: 100vh;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f47d9d, #ecb6b5);
    border-radius: 2px;
}

.sign-up-form {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 30px;
}

/* Progress Steps Enhancement */
.progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 15px;
}

.step {
    width: 50px;
    height: 90px;
    border-radius: 50%;
    background: #4f3445;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid #e9ecef;
}

.step.active {
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    border-color: #f47d9d;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(244, 125, 157, 0.4);
}

.step-number {
    color: #6c757d;
    font-weight: 700;
    font-size: 18px;
}

.step.active .step-number {
    color: #4f3445;
}

/* Form Section Title */
#step1 h3, #step2 h3, #step3 h3, #step4 h3, #step5 h3 {
    color: #f47d9d;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
    display: flex;
    align-items: center;
}

#step1 h3::before, #step2 h3::before, #step3 h3::before, #step4 h3::before, #step5 h3::before {
    content: '';
    width: 5px;
    height: 30px;
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    margin-left: 10px;
    border-radius: 3px;
}

/* Form Group Enhancement */
.form-group {
    margin-bottom: 20px;
}

.row {
    margin-bottom: 15px;
}

.row .col-md-12 {
    padding-right: 15px;
    padding-left: 15px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* Input and Select Enhancement */
.sign-up-form input[type="text"],
.sign-up-form input[type="date"],
.sign-up-form input[type="number"],
.sign-up-form select,
.sign-up-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    color: #495057;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.sign-up-form input[type="text"]:focus,
.sign-up-form input[type="date"]:focus,
.sign-up-form input[type="number"]:focus,
.sign-up-form select:focus,
.sign-up-form textarea:focus {
    outline: none;
    border-color: #f47d9d;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(244, 125, 157, 0.1);
    transform: translateY(-2px);
}

.sign-up-form input:hover,
.sign-up-form select:hover,
.sign-up-form textarea:hover {
    border-color: #ecb6b5;
}

/* Textarea specific */
.sign-up-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Select dropdown arrow */
.sign-up-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f47d9d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
    padding-right: 45px;
}

/* Button Styling */
.form-group button,
button[type="button"],
button[type="submit"],
.sign-up-form button,
.submit button {
    background:#4f3445;
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 125, 157, 0.3);
    width: 100%;
}

.form-group button:hover,
button[type="button"]:hover,
button[type="submit"]:hover,
.sign-up-form button:hover,
.submit button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 125, 157, 0.4);
    background: linear-gradient(135deg, #ecb6b5, #f47d9d);
}

.form-group button:active {
    transform: translateY(-1px);
}

/* Terms Checkbox */
.form-group label input[type="checkbox"] {
    width: auto;
    margin-left: 8px;
    accent-color: #f47d9d;
    transform: scale(1.2);
    cursor: pointer;
}

.form-group label a {
    color: #f47d9d;
    text-decoration: none;
    font-weight: 600;
}

.form-group label a:hover {
    text-decoration: underline;
}

/* Icon Enhancement for Labels */
.sign-up-form .form-group label::before {
    content: '●';
    color: #f47d9d;
    margin-left: 8px;
    font-size: 8px;
    vertical-align: middle;
}

/* Checkbox labels don't need icons */
.sign-up-form .form-group label:has(input[type="checkbox"])::before {
    content: none;
}

/* Full Width Input Sections */
.row {
    margin-right: -15px;
    margin-left: -15px;
}

.row + .row {
    margin-top: 0;
}

/* Input Group Styling */
.sign-up-form .row .col-md-12 .form-group {
    position: relative;
    background: #fafbfc;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sign-up-form .row .col-md-12 .form-group:hover {
    background: #f8f9fa;
}

/* Input wrapper focus effect */
.sign-up-form .row .col-md-12 .form-group:has(:focus) {
    background: #fff;
    box-shadow: 0 2px 8px rgba(244, 125, 157, 0.1);
}

/* Error Messages */
.text-red-600,
.mt-2.text-danger {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Hidden Fields Animation */
.col-md-12[style*="display:none"],
.col-md-6[style*="display:none"] {
    transition: all 0.3s ease;
}

/* Question Section in Steps 2+ */
#step2 .form-group label,
#step3 .form-group label,
#step4 .form-group label,
#step5 .form-group label {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* ==========================================
   LOGIN PAGE STYLING
   ========================================== */

.login-page {
    background: #fff;
    padding: 80px 0;
    min-height: 100vh;
}

.login-form h4,
.create-acc h4 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.login-form h4::after,
.create-acc h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f47d9d, #ecb6b5);
    border-radius: 2px;
}

.login-con,
.create-acc-con {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 35px;
    transition: all 0.3s ease;
}
.login-con {
       min-height: 259px !important;
}

.login-con:hover,
.create-acc-con:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

/* Form Input Enhancement */
.login-form .form-control {
    padding: 14px 18px !important;
    border: 2px solid #e9ecef !important;
    border-radius: 10px !important;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff !important;
}

.login-form .form-control:focus {
    outline: none;
    border-color: #f47d9d !important;
    box-shadow: 0 0 0 4px rgba(244, 125, 157, 0.1) !important;
    transform: translateY(-2px);
}

.login-form .form-control:hover {
    border-color: #ecb6b5 !important;
}

/* Label Styling */
.login-form label {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.login-form label::before {
    content: '◆';
    color: #f47d9d;
    margin-left: 6px;
    font-size: 9px;
}

/* Create Account Section */
.create-acc-con h5 {
    color: #f47d9d;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.create-acc-con p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

.create-acc-l a {
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    color: #fff;
    padding: 14px 40px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 125, 157, 0.3);
}

.create-acc-l a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 125, 157, 0.5);
    background: linear-gradient(135deg, #ecb6b5, #f47d9d);
}




/* Select2 Enhancement for Register Page */
.select2-container--default .select2-selection--single {
    border: 2px solid #e9ecef !important;
    border-radius: 10px !important;
    height: auto !important;
    padding: 8px !important;
    transition: all 0.3s ease;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #f47d9d !important;
    box-shadow: 0 0 0 4px rgba(244, 125, 157, 0.1) !important;
}

.select2-container--default .select2-selection--single:hover {
    border-color: #ecb6b5 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057;
    padding: 0 8px;
    font-size: 15px;
}

/* ==========================================
   PROFILE PAGE STYLING
   ========================================== */

.profile-page {
    background: #fff;
    padding: 60px 0;
    min-height: 100vh;
}

.profile-page .container {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 30px;
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.profile-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
}
.tab-btn.active {
background: #f686a1 !important;
}

/* Tab Navigation */
.nav-tabs {
    border-bottom: 2px solid #f8f9fa;
    margin-bottom: 30px;
}

.nav-tabs > li > a {
    color: #666;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
    padding: 12px 20px;
}

.nav-tabs > li > a:hover {
    background: #f8f9fa;
    color: #f47d9d;
}

.nav-tabs > li.active > a {
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    color: #fff;
    border: none;
}

/* Answer Items */
.answer-item {
    background: #fff;
    border: 2px solid #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.answer-item:hover {
    border-color: #ecb6b5;
    box-shadow: 0 4px 12px rgba(244, 125, 157, 0.1);
    transform: translateY(-2px);
}

/* Compatibility Category */
.compatibility-category {
    margin-bottom: 30px;
}

.compatibility-category h4 {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    border-right: 4px solid #f47d9d;
}

/* User Answer Box */
.user-answer {
    background: linear-gradient(135deg, #fafbfc, #fff);
    padding: 15px;
    border-radius: 8px;
    border-right: 3px solid #ecb6b5;
}

.user-answer h6 {
    color: #ad7d7c;
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Waiting Message */
.waiting-message {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #fff3cd, #fffaeb);
    border-radius: 15px;
    border: 2px dashed #ffc107;
}

.waiting-message i {
    font-size: 48px;
    color: #856404;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Payment Required Box */
.payment-required {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #fff3cd, #fffaeb);
    border: 2px solid #ffeaa7;
    border-radius: 15px;
    margin-bottom: 20px;
}

.payment-required i {
    font-size: 60px;
    color: #856404;
    margin-bottom: 20px;
}

.payment-required h4 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 22px;
}

/* Compatibility Summary */
.compatibility-summary {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 15px;
    border: 2px solid #ecb6b5;
}

.compatibility-score {
    font-size: 48px;
    font-weight: bold;
    color: #ecb6b5;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Match Indicator */
.match-indicator {
    text-align: center;
    margin-top: 15px;
}

.match-indicator span {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .sign-up-page,
    .login-page,
    .profile-page {
        padding: 30px 0;
        background: #fff;
    }

    .sign-up-form,
    .login-con,
    .create-acc-con {
        padding: 25px;
        margin-bottom: 30px;
    }

    .form-title,
    .login-form h4,
    .create-acc h4 {
        font-size: 22px;
    }

    .step {
        width: 40px;
        height: 40px;
    }

    .step-number {
        font-size: 16px;
    }
    
    .sign-up-form input[type="text"],
    .sign-up-form input[type="date"],
    .sign-up-form input[type="number"],
    .sign-up-form select,
    .sign-up-form textarea,
    .login-form .form-control {
        padding: 12px 16px;
    }

    .submit button {
        width: 100%;
    }

    .profile-avatar-large {
        width: 120px;
        height: 120px;
    }

    .compatibility-score {
        font-size: 36px;
    }
}

