﻿@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Quicksand', sans-serif;
    margin: 0;
    padding: 25px;
    color: #1d3557;
    overflow-x: hidden;
    background: radial-gradient(circle at top left, rgba(44,168,223,0.25), transparent 30%), radial-gradient(circle at bottom right, rgba(27,79,142,0.18), transparent 35%), linear-gradient(135deg, #f5f9ff 0%, #dbeafb 45%, #c0d8f2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

    body::before,
    body::after {
        content: "";
        position: fixed;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        filter: blur(40px);
        z-index: -1;
        animation: floatBlob 10s ease-in-out infinite;
    }

    body::before {
        top: -100px;
        left: -80px;
        background: rgba(44, 168, 223, 0.18);
    }

    body::after {
        bottom: -120px;
        right: -60px;
        background: rgba(27, 79, 142, 0.15);
        animation-delay: 4s;
    }

@keyframes floatBlob {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(20px) scale(1.05);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

fieldset {
    position: relative;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 35px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 40px rgba(27,79,142,0.10), inset 0 1px 0 rgba(255,255,255,0.5);
    overflow: hidden;
    animation: fadeUp 0.8s ease;
}

    fieldset::before {
        content: "";
        position: absolute;
        top: -150%;
        left: -50%;
        width: 200%;
        height: 300%;
        background: linear-gradient( 120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70% );
        transform: rotate(15deg);
        animation: shineMove 8s linear infinite;
    }
    fieldset::before {
        pointer-events: none !important;
    }
@keyframes shineMove {
    0% {
        transform: translateX(-40%) rotate(15deg);
    }

    100% {
        transform: translateX(40%) rotate(15deg);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

legend,
.legend {
    position: relative;
    padding: 10px 22px;
    border-radius: 14px;
    background: linear-gradient( 135deg, #1b4f8e 0%, #2ca8df 100% );
    color: white;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(27,79,142,0.25);
    border: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 13px 15px;
    border-radius: 14px;
    border: 1px solid rgba(27,79,142,0.12);
    background: rgba(255,255,255,0.92);
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.35s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

    input:hover,
    select:hover,
    textarea:hover {
        border-color: rgba(44,168,223,0.4);
        transform: translateY(-1px);
    }

    input:focus,
    select:focus,
    textarea:focus {
        outline: none;
        border-color: #2ca8df;
        background: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 0 0 4px rgba(44,168,223,0.14), 0 8px 25px rgba(44,168,223,0.10);
    }

textarea {
    resize: vertical;
    min-height: 110px;
}

.AlseinTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 14px;
}

    .AlseinTable tr {
        transition: all 0.3s ease;
    }

        .AlseinTable tr:hover {
            transform: scale(1.005);
        }

    .AlseinTable td:nth-child(3n+1) {
        width: 22px;
        text-align: center;
        color: #b6244f;
        font-size: 18px;
        font-weight: bold;
        vertical-align: middle;
        animation: pulseStar 2s infinite;
    }

@keyframes pulseStar {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.AlseinTable td:nth-child(3n+2) {
    position: relative;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    padding: 14px 18px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 16px;
    background: linear-gradient( 135deg, #1b4f8e 0%, #2ca8df 100% );
    vertical-align: middle;
    box-shadow: 0 10px 20px rgba(27,79,142,0.15);
    overflow: hidden;
}

    .AlseinTable td:nth-child(3n+2)::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, transparent, rgba(255,255,255,0.18), transparent );
        transform: translateX(-100%);
        animation: labelGlow 4s infinite;
    }

@keyframes labelGlow {
    100% {
        transform: translateX(100%);
    }
}

.AlseinTable td:nth-child(3n+3) {
    padding-left: 14px;
    vertical-align: middle;
}

button,
input[type="submit"],
input[type="button"] {
    padding: 13px 28px;
    border: none;
    border-radius: 16px;
    background: linear-gradient( 135deg, #1b4f8e, #2ca8df );
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(27,79,142,0.18);
}

    button:hover,
    input[type="submit"]:hover,
    input[type="button"]:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 18px 35px rgba(27,79,142,0.22);
    }

    button:active,
    input[type="submit"]:active,
    input[type="button"]:active {
        transform: scale(0.98);
    }

.LoadingIcon {
    display: none;
    width: 48px;
    filter: drop-shadow(0 0 10px rgba(44,168,223,0.35));
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}





.btn-success.btn-x {
    position: relative;
    display: inline-block;
    padding: 14px 34px !important;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #1F66A3, #2E86D1) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600;
    letter-spacing: .3px;
    box-shadow: 0 10px 25px rgba(31, 102, 163, .25);
    transition: all .30s ease;
    overflow: hidden;
}

    .btn-success.btn-x:hover {
        background: linear-gradient(135deg, #175483, #2578c2) !important;
        transform: translateY(-3px);
        box-shadow: 0 14px 35px rgba(31, 102, 163, .35);
    }

    .btn-success.btn-x:active {
        transform: scale(.98);
    }

    .btn-success.btn-x::before {
        content: '';
        position: absolute;
        top: 0;
        left: -120%;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,.18);
        transform: skewX(-25deg);
        transition: .7s;
    }

    .btn-success.btn-x:hover::before {
        left: 130%;
    }

    .btn-success.btn-x i {
        transition: transform .3s ease;
    }

    .btn-success.btn-x:hover i {
        transform: rotate(-8deg) scale(1.1);
    }

.LoadingIcon {
    width: 42px;
    margin-left: 12px;
    vertical-align: middle;
}










@media screen and (max-width: 768px) {

    body {
        padding: 15px;
    }

    fieldset {
        padding: 20px;
    }

    .AlseinTable td:nth-child(3n+2) {
        width: 130px;
        min-width: 130px;
        max-width: 130px;
        font-size: 12px;
        padding: 10px 12px;
    }

    input,
    select,
    textarea {
        font-size: 13px;
    }
}
