﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    /*background: linear-gradient(135deg, #0d2a6d 0%, #ffffff 100%);*/
    background: #530F00;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #333;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Panel - Info */
.info-panel {
    flex: 1;
    background: #530F00;
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

    .info-panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,50 Q25,40 50,50 T100,50" stroke="rgba(255,255,255,0.05)" stroke-width="2" fill="none"/></svg>');
        opacity: 0.3;
    }

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    margin-right: 15px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
}

.tagline {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
    color: #a3c4ff;
}

.info-content h1 {
    font-size: 34px;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.info-content p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.features {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #4d7cff;
}

.feature-icon {
    background: rgba(255, 255, 255, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

/* Right Panel - Forms */
.form-panel {
    flex: 1.2;
    background-color: white;
    padding: 50px 40px;
    position: relative;
}

.form-header {
    margin-bottom: 30px;
}

    .form-header h2 {
        font-size: 28px;
        color: #530F00;
        margin-bottom: 10px;
        position: relative;
        display: inline-block;
    }

        .form-header h2::after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 60px;
            height: 4px;
            background: #4d7cff;
            border-radius: 2px;
        }

    .form-header p {
        color: #666;
        font-size: 15px;
        margin-top: 15px;
    }

/* Form Container */
.form-container {
    margin-top: 20px;
}

.form-view {
    display: none;
}

    .form-view.active {
        display: block;
        animation: slideIn 0.5s ease;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 14px;
}

    .form-label span {
        color: #e63946;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #777;
        font-size: 18px;
    }

.form-control {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 2px solid #e0e4f3;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fcfcff;
}

    .form-control:focus {
        outline: none;
        border-color: #530F00;
        box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.1);
    }

    .form-control.error {
        border-color: #e63946;
        background-color: #fff5f5;
    }

    .form-control.success {
        border-color: #2ecc71;
        background-color: #f7fff9;
    }

/* Loading Spinner */
.spinner {
    display: none;
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #530F00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading {
    position: relative;
    opacity: 0.7;
}

    .loading::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #530F00;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

/* Error Messages */
.error-message {
    display: none;
    color: #e63946;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #fff5f5;
    border-radius: 8px;
    border-left: 4px solid #e63946;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message i {
    margin-right: 6px;
}

.error-message.show {
    display: flex;
    align-items: center;
}

/* Success Messages */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #e7f7ef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #2ecc71;
    font-size: 36px;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transform: translateX(150%);
    transition: transform 0.4s ease;
    max-width: 350px;
}

    .notification-toast.show {
        transform: translateX(0);
    }

    .notification-toast.success {
        border-left: 4px solid #2ecc71;
    }

    .notification-toast.error {
        border-left: 4px solid #e63946;
    }

    .notification-toast.info {
        border-left: 4px solid #530F00;
    }

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.notification-toast.success .notification-icon {
    background: #e7f7ef;
    color: #2ecc71;
}

.notification-toast.error .notification-icon {
    background: #fff5f5;
    color: #e63946;
}

.notification-toast.info .notification-icon {
    background: #ebf5fb;
    color: #530F00;
}

.notification-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.notification-content p {
    font-size: 14px;
    color: #666;
}

/* Captcha */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.captcha-box {
    flex: 1;
    background: #f0f3ff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #530F00;
    border: 2px dashed #c2c9e9;
    font-family: monospace;
}

.captcha-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-btn {
    background: #eef1ff;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    color: #530F00;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

    .captcha-btn:hover {
        background: #dfe5ff;
    }

/* OTP Section */
.otp-container {
    margin: 25px 0;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-input {
    width: 55px;
    height: 65px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    border: 2px solid #e0e4f3;
    border-radius: 10px;
    background: #f8faff;
    transition: all 0.3s ease;
}

    .otp-input:focus {
        border-color: #530F00;
        box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.1);
        outline: none;
    }

    .otp-input.error {
        border-color: #e63946;
        background-color: #fff5f5;
    }

.timer {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

    .timer span {
        color: #e63946;
        font-weight: 700;
    }

.resend-otp {
    text-align: center;
    margin-top: 15px;
}

.resend-btn {
    background: none;
    border: none;
    color: #530F00;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .resend-btn:hover {
        background: #f0f3ff;
    }

    .resend-btn.disabled {
        color: #999;
        cursor: not-allowed;
    }

/* Buttons */
.action-buttons {
    margin-top: 30px;
    position: relative;
}

.form-btn {
    width: 100%;
    padding: 18px;
    background: #530F00;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    position: relative;
}

    .form-btn:hover:not(:disabled) {
        background: #530F00;
        box-shadow: 0 6px 20px rgba(26, 58, 143, 0.3);
    }

    .form-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    .form-btn.secondary {
        background: linear-gradient(to right, #4d7cff, #6a9bff);
    }

        .form-btn.secondary:hover:not(:disabled) {
            background: linear-gradient(to right, #3a6cff, #5a8cff);
        }

.back-btn {
    background: none;
    border: none;
    color: #530F00;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    margin-bottom: 20px;
}

/* Quick Links */
.quick-links {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 8px;
}

    .quick-link:hover {
        background: #f0f3ff;
        color: #530F00;
    }

    .quick-link i {
        color: #530F00;
        font-size: 16px;
    }

/* Password Strength */
.password-strength {
    margin-top: 10px;
}

.strength-meter {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 13px;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        max-width: 600px;
    }

    .info-panel, .form-panel {
        padding: 40px 30px;
    }

    .quick-links {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .info-panel, .form-panel {
        padding: 30px 20px;
    }

    .captcha-container {
        flex-direction: column;
    }

    .otp-inputs {
        gap: 8px;
    }

    .otp-input {
        width: 45px;
        height: 55px;
        font-size: 22px;
    }

    .quick-links {
        flex-direction: column;
        gap: 10px;
    }

    .notification-toast {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}
/* Update Contact OTP Styles */
#update-contact-otp-form .contact-info-display {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

    .contact-item i {
        font-size: 18px;
        color: #6c757d;
        width: 24px;
    }

.contact-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-top: 2px;
}

/* OTP Sections */
.otp-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

    .otp-section.verified {
        border-color: #28a745;
        background: #f0fff4;
    }

.email-otp-section {
    border-left: 4px solid #007bff;
}

.mobile-otp-section {
    border-left: 4px solid #28a745;
}

.otp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

    .otp-header i {
        font-size: 20px;
    }

    .otp-header h4 {
        margin: 0;
        font-size: 16px;
        color: #495057;
    }

.otp-badge {
    background: #e9ecef;
    color: #6c757d;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: auto;
}

/* OTP Inputs for Update Form */
#update-contact-otp-form .otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

#update-contact-otp-form .otp-input {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

    #update-contact-otp-form .otp-input:focus {
        border-color: #4a90e2;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
        outline: none;
        transform: translateY(-2px);
    }

    #update-contact-otp-form .otp-input.verified {
        border-color: #28a745;
        background: #f0fff4;
        color: #28a745;
    }

    #update-contact-otp-form .otp-input.error {
        border-color: #e74c3c;
        background: #ffeaea;
        animation: shake 0.5s ease;
    }

/* Timers */
#update-contact-otp-form .timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
    padding: 10px;
    background: #fff8e1;
    border-radius: 8px;
    border: 1px solid #ffe082;
    color: #ff9800;
    font-size: 14px;
    font-weight: 500;
}

    #update-contact-otp-form .timer.warning {
        background: #ffebee;
        border-color: #ffcdd2;
        color: #f44336;
    }

    #update-contact-otp-form .timer.expired {
        background: #f5f5f5;
        border-color: #e0e0e0;
        color: #9e9e9e;
    }

/* Resend Buttons */
#update-contact-otp-form .resend-otp {
    margin-top: 15px;
}

#update-contact-otp-form .resend-btn {
    width: 100%;
    justify-content: center;
}

.email-resend-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.mobile-resend-btn {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

/* Verification Status */
.verification-status {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
    padding: 8px;
    border-radius: 6px;
    background: white;
}

.status-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.status-icon {
    font-size: 18px;
}

    .status-icon.verified {
        color: #28a745;
    }

    .status-icon.not-verified {
        color: #dc3545;
    }

    .status-icon.pending {
        color: #ffc107;
    }

/* Submit Button */
#verify-update-otps {
    width: 100%;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

    #verify-update-otps:not(:disabled) {
        background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    }

    #verify-update-otps:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Form Note */
.form-note {
    background: #e7f3ff;
    border-radius: 8px;
    padding: 12px;
    margin-top: 20px;
    border-left: 4px solid #007bff;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .form-note i {
        color: #007bff;
        margin-top: 2px;
    }

    .form-note span {
        color: #495057;
        font-size: 13px;
        line-height: 1.4;
    }

/* Responsive */
@media (max-width: 768px) {
    #update-contact-otp-form .otp-input {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .otp-section {
        padding: 15px;
    }

    .contact-item {
        flex-wrap: wrap;
    }
}


.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

    .or-divider::before,
    .or-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #ddd;
    }

    .or-divider span {
        padding: 6px 15px;
        margin: 0 10px;
        font-weight: 600;
        font-size: 14px;
        color: #333;
        background: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 20px;
    }
.no-copy {
    user-select: none; /* Standard */
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
}


