/* Frontend styling for Forening MobilePay Abonnement */
.fma-card {
    max-width: 540px;
    margin: 32px auto;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid #dbe8f7;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(15, 40, 70, 0.14);
    text-align: center;
    box-sizing: border-box;
}


.fma-card__title {
    margin: 0 0 8px;
    color: #123d66;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.2;
}

.fma-card__lead {
    margin: 0 0 22px;
    color: #303846;
    font-size: 18px;
    font-weight: 600;
}

.fma-message {
    max-width: 540px;
    margin: 24px auto;
    padding: 14px 18px;
    border-radius: 14px;
    background: #eef8ef;
    border: 1px solid #c7e7cc;
    color: #1e5b2a;
    font-weight: 600;
}

.fma-form p {
    margin: 0 0 15px;
}

.fma-form label {
    display: block;
    text-align: left;
    color: #1f2933;
    font-weight: 700;
}

.fma-form input {
    width: 100%;
    margin-top: 6px;
    padding: 13px 14px;
    border: 1px solid #cfd9e5;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.fma-form input:focus {
    outline: none;
    border-color: #5b2df5;
    box-shadow: 0 0 0 3px rgba(91, 45, 245, .16);
}

.fma-submit {
    position: relative;
    width: 100%;
    margin-top: 8px;
    padding: 16px 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #5b2df5 0%, #00a9e0 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(38, 92, 180, .28);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.fma-submit:hover,
.fma-submit:focus {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 14px 28px rgba(38, 92, 180, .35);
}

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



@media (max-width: 600px) {
    .fma-card {
        margin: 22px 12px;
        padding: 22px;
        border-radius: 18px;
    }

    .fma-submit {
        font-size: 17px;
    }
}
