/* =========================================
   PASSWORD RESET PAGE STYLES
   ========================================= */

.password-reset-hero {
    padding: 60px 0 40px;
    text-align: center;
}

.password-reset-hero h1 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 40px;
    font-weight: 600;
}

body.light .password-reset-hero h1 {
    color: #333;
}

.password-reset-hero p {
    font-size: 16px;
    color: #999;
    margin: 0;
    font-weight: 500;
}

body.light .password-reset-hero p {
    color: #666;
}

/* =========================================
   RESET CONTENT SECTION
   ========================================= */

.password-reset-content {
    padding: 60px 0;
}

/* =========================================
   RESET CARD STYLES
   ========================================= */

.reset-card {
    background: rgba(11, 160, 38, 0.03);
    border: 1px solid rgba(11, 160, 38, 0.1);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
}

body.light .reset-card {
    background: rgba(11, 160, 38, 0.02);
    border-color: rgba(11, 160, 38, 0.08);
}

/* =========================================
   ALERT STYLES
   ========================================= */

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-info {
    background: rgba(13, 202, 240, 0.1);
    border: 1px solid rgba(13, 202, 240, 0.3);
    color: #0dcaf0;
}

body.light .alert-info {
    background: rgba(13, 202, 240, 0.05);
    border-color: rgba(13, 202, 240, 0.2);
    color: #0099cc;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

body.light .alert-danger {
    background: rgba(220, 53, 69, 0.05);
    border-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.alert i {
    font-size: 18px;
}

/* =========================================
   FORM STYLES
   ========================================= */

.reset-form .form-group {
    margin-bottom: 25px;
}

.reset-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body.light .reset-form label {
    color: #333;
}

.reset-form small {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 12px;
}

body.light .reset-form small {
    color: #666;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: #0ba026;
    font-size: 16px;
    pointer-events: none;
}

.input-wrapper input {
    padding-left: 45px;
}

/* Form Control Styles */
.reset-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(11, 160, 38, 0.2);
    color: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

body.light .reset-form .form-control {
    background: #f8f9fa;
    border-color: #e0e0e0;
    color: #333;
}

.reset-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

body.light .reset-form .form-control::placeholder {
    color: rgba(51, 51, 51, 0.4);
}

.reset-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #0ba026;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(11, 160, 38, 0.1);
    outline: none;
}

body.light .reset-form .form-control:focus {
    background: #fff;
    border-color: #0ba026;
    color: #333;
    box-shadow: 0 0 0 3px rgba(11, 160, 38, 0.1);
}

/* =========================================
   BUTTON STYLES
   ========================================= */

.btn-reset {
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.btn-reset i {
    font-size: 16px;
}

.btn-reset:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-reset.loading {
    pointer-events: none;
}

.btn-reset.loading i::after {
    content: '';
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   RESET FOOTER
   ========================================= */

.reset-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(11, 160, 38, 0.1);
}

body.light .reset-footer {
    border-top-color: rgba(11, 160, 38, 0.08);
}

.reset-footer p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

body.light .reset-footer p {
    color: #666;
}

.reset-footer p:last-child {
    margin-bottom: 0;
}

.reset-footer a {
    color: #0ba026;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.reset-footer a:hover {
    color: #099820;
    text-decoration: underline;
}

/* =========================================
   SECURITY NOTICE
   ========================================= */

.security-notice {
    margin-top: 30px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(11, 160, 38, 0.05);
    border: 1px solid rgba(11, 160, 38, 0.1);
    border-radius: 8px;
    border-left: 4px solid #0ba026;
}

body.light .notice-item {
    background: rgba(11, 160, 38, 0.02);
    border-color: rgba(11, 160, 38, 0.08);
}

.notice-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 160, 38, 0.1);
    border-radius: 6px;
    color: #0ba026;
    font-size: 18px;
}

body.light .notice-icon {
    background: rgba(11, 160, 38, 0.08);
}

.notice-text h4 {
    color: #0ba026;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

body.light .notice-text h4 {
    color: #0ba026;
}

.notice-text p {
    color: #ccc;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

body.light .notice-text p {
    color: #666;
}

/* =========================================
   MODAL STYLES
   ========================================= */

.reset-modal {
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(11, 160, 38, 0.2);
    border-radius: 8px;
}

body.light .reset-modal {
    background: #fff;
    border-color: rgba(11, 160, 38, 0.1);
}

.reset-modal.error-modal {
    border-color: rgba(220, 53, 69, 0.3);
}

body.light .reset-modal.error-modal {
    border-color: rgba(220, 53, 69, 0.2);
}

.reset-modal .modal-header,
.reset-modal .modal-footer {
    background: transparent;
    border-color: rgba(11, 160, 38, 0.1);
}

.reset-modal.error-modal .modal-header,
.reset-modal.error-modal .modal-footer {
    border-color: rgba(220, 53, 69, 0.2);
}

.reset-modal .modal-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

body.light .reset-modal .modal-title {
    color: #333;
}

.reset-modal .modal-title i {
    margin-right: 8px;
    color: #0ba026;
}

.reset-modal.error-modal .modal-title i {
    color: #dc3545;
}

.reset-modal .modal-body {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    padding: 20px 30px;
}

body.light .reset-modal .modal-body {
    color: #666;
}

.reset-modal .modal-body p {
    margin-bottom: 12px;
}

.reset-modal .modal-body p:last-child {
    margin-bottom: 0;
}

.reset-modal .link-primary {
    color: #0ba026;
    text-decoration: none;
    font-weight: 600;
}

.reset-modal .link-primary:hover {
    text-decoration: underline;
    color: #099820;
}

.reset-modal .btn-close {
    filter: invert(1) brightness(1.8);
}

body.light .reset-modal .btn-close {
    filter: none;
}

.reset-modal .btn {
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reset-modal .btn-primary {
    background: #0ba026;
    border-color: #0ba026;
    color: #fff;
}

.reset-modal .btn-primary:hover {
    background: #099820;
    border-color: #099820;
    box-shadow: 0 4px 12px rgba(11, 160, 38, 0.3);
}

.reset-modal .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.light .reset-modal .btn-outline {
    border-color: rgba(0, 0, 0, 0.2);
    color: #333;
}

.reset-modal .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   SUCCESS MODAL STYLES
   ========================================= */

.reset-modal.success-modal {
    border-color: rgba(10, 160, 38, 0.4);
    background: linear-gradient(135deg, #0f1419 0%, #041c32 50%, #064663 100%);
    border: 1px solid rgba(10, 160, 38, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

body.light .reset-modal.success-modal {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 50%, #f0f5f9 100%);
    border-color: rgba(10, 160, 38, 0.2);
}

.success-modal .modal-body {
    padding: 40px 30px;
}

.success-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0aa026 0%, #088a1f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(10, 160, 38, 0.3);
    animation: checkmark 0.8s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.success-modal .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

body.light .success-modal .modal-title {
    color: #333;
}

.success-description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Success Steps */
.success-steps {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(10, 160, 38, 0.1);
}

body.light .success-steps {
    background: rgba(10, 160, 38, 0.02);
    border-color: rgba(10, 160, 38, 0.08);
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 10px;
    box-shadow: 0 4px 12px rgba(10, 160, 38, 0.3);
}

.step p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Success Note */
.success-note {
    background: rgba(10, 160, 38, 0.1);
    border: 1px solid rgba(10, 160, 38, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 12px;
    color: var(--text-muted);
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.light .success-note {
    background: rgba(10, 160, 38, 0.05);
    border-color: rgba(10, 160, 38, 0.15);
}

.success-note i {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Success Confirm Button */
.btn-success-confirm {
    margin-top: 20px;
    width: 100%;
    padding: 12px 20px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-success-confirm:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(10, 160, 38, 0.3);
    transform: translateY(-2px);
}

.btn-success-confirm:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .success-modal .modal-body {
        padding: 30px 20px;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }

    .success-modal .modal-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .success-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .success-steps {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        margin: 20px 0;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .step p {
        font-size: 12px;
    }

    .success-note {
        font-size: 11px;
        padding: 10px 12px;
        gap: 8px;
        margin: 20px 0;
    }

    .btn-success-confirm {
        padding: 10px 16px;
        font-size: 14px;
        margin-top: 15px;
    }
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */

@media (max-width: 768px) {
    .password-reset-hero {
        padding: 50px 0 30px;
    }

    .password-reset-hero h1 {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .password-reset-hero p {
        font-size: 14px;
    }

    .password-reset-content {
        padding: 40px 0;
    }

    .reset-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .reset-form .form-group {
        margin-bottom: 20px;
    }

    .reset-form label {
        font-size: 13px;
    }

    .reset-form .form-control {
        padding: 11px 12px 11px 40px;
        font-size: 14px;
    }

    .input-wrapper i {
        left: 12px;
        font-size: 15px;
    }

    .btn-reset {
        padding: 11px 15px;
        font-size: 14px;
    }

    .reset-footer {
        margin-top: 20px;
        padding-top: 15px;
    }

    .reset-footer p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .security-notice {
        margin-top: 20px;
    }

    .notice-item {
        padding: 15px;
        gap: 12px;
    }

    .notice-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .notice-text h4 {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .notice-text p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .password-reset-hero h1 {
        font-size: 28px;
    }

    .reset-card {
        padding: 20px 15px;
    }

    .reset-form .form-control {
        font-size: 16px;
    }

    .btn-reset {
        padding: 10px 12px;
        font-size: 13px;
    }

    .alert {
        padding: 12px 15px;
        font-size: 13px;
    }
}
