.container-fluid,
.container-fluid > .row {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.row:has(.forgot-page) {
    display: block !important;
    width: 100% !important;
}

.forgot-page {
    min-height: 100vh;
    display: flex !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    width: 100% !important;
}

.forgot-page * {
    box-sizing: border-box;
}

.forgot-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.forgot-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.forgot-shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #3d83f6, #60a5fa);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.forgot-shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.forgot-shape-3 {
    width: 200px;
    height: 200px;
    background: #3d83f6;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.15; transform: translate(-50%, -50%) scale(1.1); }
}

.forgot-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.forgot-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
    position: relative;
}

.forgot-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s ease;
}

.forgot-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.forgot-logo {
    text-align: center;
    margin-bottom: 32px;
}

.forgot-logo a {
    display: inline-block;
    text-decoration: none;
}

.forgot-logo img {
    max-height: 48px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.forgot-logo h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.forgot-header {
    text-align: center;
    margin-bottom: 32px;
}

.forgot-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(61, 131, 246, 0.1), rgba(96, 165, 250, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.forgot-icon svg {
    width: 36px;
    height: 36px;
    color: #3d83f6;
}

.forgot-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.forgot-header p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.forgot-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #3d83f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(61, 131, 246, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3d83f6, #60a5fa);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61, 131, 246, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.forgot-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.forgot-footer p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.forgot-footer a {
    color: #3d83f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot-footer a:hover {
    color: #2563eb;
}

.info-text {
    background: linear-gradient(135deg, rgba(61, 131, 246, 0.08), rgba(96, 165, 250, 0.05));
    border: 1px solid rgba(61, 131, 246, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.info-text p {
    font-size: 14px;
    color: #334155;
    margin: 0;
    line-height: 1.6;
}

.info-text svg {
    color: #3d83f6;
    margin-right: 8px;
    vertical-align: middle;
}

@media (max-width: 480px) {
    .forgot-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .forgot-header h1 {
        font-size: 22px;
    }

    .forgot-icon {
        width: 64px;
        height: 64px;
    }

    .forgot-icon svg {
        width: 32px;
        height: 32px;
    }
}
