/* lupa_password.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-image: url('assets/img/aquara/background1.png');
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 650px;
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Form Card - Sisi Kanan */
.form-card {
    flex: 1;
    background: white;
    padding: 45px 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e3a5f;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.back-button:hover {
    color: #0f4a4a;
    gap: 8px;
}

.back-button svg {
    width: 18px;
    height: 18px;
}

/* Logo */
.logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.logo {
    width: 100px;
    height: auto;
}

/* Instructions */
.instructions {
    text-align: center;
    margin-bottom: 30px;
}

.instructions p {
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 4px;
}

/* Form */
.reset-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 11px 14px 11px 38px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    color: #1F2937;
    transition: all 0.2s ease;
    font-family: inherit;
    background: #fafafa;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #0f4a4a;
    background: white;
    box-shadow: 0 0 0 3px rgba(15, 74, 74, 0.08);
}

.input-wrapper input::placeholder {
    color: #9CA3AF;
    font-size: 12.5px;
}

/* Send Code Button - Di dalam input */
.send-code-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #0e7490;
    color: white;
    border: none;
    padding: 7px 16px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.send-code-btn:hover {
    background: #0c5d75;
}

.send-code-btn:active {
    transform: translateY(-50%) scale(0.96);
}

/* Form Row - 2 Kolom untuk Password */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group.half {
    width: 100%;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: #0e7490;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #0c5d75;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 116, 144, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer Text */
.footer-text {
    text-align: center;
    font-size: 11px;
    color: #6B7280;
    line-height: 1.5;
    margin-top: 20px;
}

.footer-text a {
    color: #0e7490;
    text-decoration: none;
    font-weight: 500;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        height: auto;
        max-width: 500px;
    }

    .background-image {
        width: 100%;
        height: 200px;
        border-radius: 30px 30px 0 0;
    }

    .form-card {
        width: 100%;
        padding: 40px 35px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 15px;
    }

    .container {
        border-radius: 20px;
    }

    .form-card {
        padding: 35px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .logo {
        width: 85px;
    }

    .instructions p {
        font-size: 12px;
    }

    .send-code-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .back-button {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .form-card {
        padding: 30px 20px;
    }

    .logo {
        width: 75px;
    }

    .submit-btn {
        font-size: 14px;
        padding: 11px;
    }
}

/* Success Notification Popup */
.success-notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.success-notification.show {
    opacity: 1;
    visibility: visible;
}

.notification-content {
    background: white;
    padding: 40px 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.check-icon {
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.notification-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.notification-content p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-ok {
    background: #0f4a4a;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ok:hover {
    background: #0f4a4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #0f4a4a;
}

.btn-ok:active {
    transform: translateY(0);
}