﻿
.fp-section {
    min-height: calc(100vh - 220px);
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 97px 20px;
    position: relative;
    overflow: hidden;
}

    /* Abstract Background Decoration */
    .fp-section::before {
        content: '';
        position: absolute;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(36,52,116,.08) 0%, rgba(36,52,116,0) 70%);
        top: -200px;
        left: -200px;
        border-radius: 50%;
        z-index: 0;
        pointer-events: none;
    }

    .fp-section::after {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(36,52,116,.08) 0%, rgba(36,52,116,0) 70%);
        bottom: -150px;
        right: -100px;
        border-radius: 50%;
        z-index: 0;
        pointer-events: none;
    }

.fp-card-wrapper {
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
}

.fp-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0,0,0,0.04);
    padding: 44px 40px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-top: 5px solid #243474;
    box-sizing: border-box;
}

.fp-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.fp-icon-circle {
    width: 66px;
    height: 66px;
    background: linear-gradient(135deg, #e9ecfb 0%, #d8def8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #243474;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(36,52,116,.18);
}

.fp-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.5px;
}

.fp-card-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #64748b;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
}

.fp-input-group {
    position: relative;
    margin-bottom: 8px;
}

    .fp-input-group i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        color: #94a3b8;
        transition: color 0.3s;
        pointer-events: none;
        z-index: 1;
    }

    .fp-input-group input[type="text"] {
        width: 100%;
        height: 50px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        padding: 0 16px 0 46px;
        font-family: 'Outfit', sans-serif;
        font-size: 14.5px;
        color: #334155;
        background: #f8fafc;
        transition: all 0.3s ease;
        outline: none;
        box-sizing: border-box;
        -webkit-appearance: none;
        display: block;
    }

        .fp-input-group input[type="text"]::placeholder {
            color: #94a3b8;
        }

        .fp-input-group input[type="text"]:focus {
            border-color: #243474;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(36,52,116,.12);
        }

            .fp-input-group input[type="text"]:focus + i,
            .fp-input-group input[type="text"]:not(:placeholder-shown) + i {
                color: #243474;
            }

.fp-validation {
    min-height: 20px;
    margin-bottom: 12px;
}

    .fp-validation span {
        font-family: 'Outfit', sans-serif;
        font-size: 12.5px;
        color: #ef4444;
        display: block;
    }

.fp-msg {
    min-height: 20px;
    margin-bottom: 12px;
    text-align: center;
}

    .fp-msg span {
        font-family: 'Outfit', sans-serif;
        font-size: 14px;
        color: red;
        font-weight: 500;
    }

.fp-btn-group {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

    .fp-btn-group input[type="submit"],
    .fp-btn-group a.grey-btn {
        height: 50px;
        flex: 1;
        border: none;
        border-radius: 12px;
        font-family: 'Outfit', sans-serif;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        box-sizing: border-box;
        -webkit-appearance: none;
    }

    /* Primary Button */
    .fp-btn-group .blue-btn {
        background: linear-gradient(135deg, #1B2A6B 0%, #243474 50%, #2E3F8F 100%);
        color: #fff;
        border: none;
        box-shadow: 0 6px 18px rgba(27, 42, 107, 0.35);
        transition: all 0.3s ease;
    }

        .fp-btn-group .blue-btn:hover {
            background: linear-gradient(135deg, #141F52 0%, #1B2A6B 50%, #243474 100%);
            box-shadow: 0 10px 24px rgba(20, 31, 82, 0.45);
            transform: translateY(-3px);
        }

    /* Secondary Button */
    .fp-btn-group .grey-btn {
        background: #f8f9fc;
        color: #243474;
        border: 2px solid #d6dcf2 !important;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .fp-btn-group .grey-btn:hover {
            background: #f8f9fc; /* Same background */
            color: #000;
            border-color: #243474 !important;
        }

@media screen and (max-width: 1024px) {
    .fp-section {
        padding: 50px 20px;
    }
}

/* ===== Responsive: Mobile (max 768px) ===== */
@media screen and (max-width: 768px) {
    .fp-section {
        padding: 40px 16px;
        align-items: flex-start;
        padding-top: 48px;
    }

    .fp-card-wrapper {
        max-width: 100%;
    }

    .fp-card {
        padding: 36px 28px;
        border-radius: 20px;
    }

    .fp-icon-circle {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }

    .fp-card-title {
        font-size: 24px;
    }

    .fp-card-subtitle {
        margin-bottom: 24px;
    }
}

/* ===== Responsive: Small Mobile (max 480px) ===== */
@media screen and (max-width: 480px) {
    .fp-section {
        padding: 28px 12px;
        min-height: calc(100vh - 180px);
    }

    .fp-card {
        padding: 26px 18px;
        border-radius: 18px;
        border-top-width: 4px;
    }

    .fp-icon-circle {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .fp-icon-wrapper {
        margin-bottom: 14px;
    }

    .fp-card-title {
        font-size: 22px;
    }

    .fp-card-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .fp-input-group input[type="text"] {
        height: 46px;
        font-size: 14px;
    }

    .fp-btn-group {
        flex-direction: column-reverse;
        gap: 10px;
    }

        .fp-btn-group input[type="submit"],
        .fp-btn-group a.grey-btn {
            height: 46px;
            font-size: 14px;
            flex: none;
            width: 100%;
        }
}

/* ===== Responsive: Extra-Small (max 360px) ===== */
@media screen and (max-width: 360px) {
    .fp-card {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .fp-card-title {
        font-size: 20px;
    }

    .fp-section::before,
    .fp-section::after {
        display: none;
    }
}
