* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Forgot Container */
.forgot-container {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Forgot Card */
.forgot-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Side - Brand Section */
.forgot-left {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 60px 50px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.forgot-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.brand-section {
    position: relative;
    z-index: 1;
    width: 100%;
}

.welcome-text {
    margin-bottom: 50px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.brand-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
}

/* Quote Section */
.quote-section {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.quote-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.quote-text {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
    margin: 0;
    font-style: italic;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Right Side - Form Section */
.forgot-right {
    padding: 60px 50px;
    background: #ffffff;
}

.mobile-logo {
    text-align: center;
    margin-bottom: 40px;
}

.mobile-logo img {
    max-width: 190px;
    height: auto;
}

.form-section {
    max-width: 420px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9375rem;
    color: #64748b;
}

/* Success Alert */
.success-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #d1fae5;
    border: 1px solid #10b981;
    border-left: 4px solid #10b981;
    border-radius: 12px;
    margin-bottom: 32px;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #059669;
    font-size: 1.25rem;
}

.success-content {
    flex: 1;
}

.success-content strong {
    display: block;
    color: #065f46;
    font-weight: 600;
    margin-bottom: 4px;
}

.success-content p {
    color: #065f46;
    margin: 0;
    font-size: 0.9375rem;
}

/* Form Styling */
.forgot-form {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.125rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 0.9375rem;
    color: #0f172a;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-input:focus ~ .input-icon {
    color: #2563eb;
}

.form-input.is-invalid {
    border-color: #ef4444;
}

.input-error {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.8125rem;
    color: #ef4444;
}

.input-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.8125rem;
    color: #64748b;
}

.input-hint i {
    font-size: 0.875rem;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 32px;
}

.btn-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-text,
.btn-icon {
    position: relative;
    z-index: 1;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(4px);
}

/* Back Link */
.back-link {
    text-align: center;
    margin-top: 32px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link a:hover {
    color: #2563eb;
}

.back-link a i {
    transition: transform 0.3s ease;
}

.back-link a:hover i {
    transform: translateX(-4px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .forgot-left {
        padding: 40px 30px;
    }

    .forgot-right {
        padding: 40px 30px;
    }

    .brand-title {
        font-size: 2.25rem;
    }

    .form-title {
        font-size: 1.75rem;
    }

    .quote-section {
        padding: 25px;
    }
}

@media (max-width: 767.98px) {
    .forgot-card {
        border-radius: 16px;
    }

    .forgot-right {
        padding: 30px 24px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .btn-submit {
        margin-top: 24px;
    }

    .success-alert {
        padding: 16px;
        gap: 12px;
    }
}

@media (max-width: 575.98px) {
    .forgot-right {
        padding: 24px 20px;
    }

    .form-title {
        font-size: 1.375rem;
    }

    .form-header {
        margin-bottom: 30px;
    }

    .form-input {
        padding: 12px 14px 12px 44px;
    }

    .btn-submit {
        padding: 14px 20px;
    }
}

@media (max-width: 359.98px) {
    .forgot-right {
        padding: 20px 16px;
    }

    .form-title {
        font-size: 1.25rem;
    }
}
