@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #4B2E1D 0%, #2E4028 100%);
    background-attachment: fixed;
    color: #F3EFE8;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* --- Radio Buttons --- */
.rbtnList {
    color: #fff;
    list-style: none;
    padding: 0;
}

    .rbtnList input[type="radio"] {
        display: none;
    }

    .rbtnList label {
        display: block;
        padding: 10px 16px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        cursor: pointer;
        margin-bottom: 6px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(4px);
        transition: all 0.3s ease;
    }

    .rbtnList input[type="radio"]:checked + label {
        background: linear-gradient(90deg, #2E4028, #4B2E1D);
        border-color: #58A84A;
        color: #fff;
        box-shadow: 0 0 8px rgba(72, 180, 97, 0.5);
    }

    .rbtnList label:hover {
        background-color: rgba(80, 120, 70, 0.3);
    }

/* --- Form Elements --- */

legend {
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 0 10px;
    letter-spacing: 1px;
}

label {
    color: #E9E3D3;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    letter-spacing: 0.3px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
   width: 300%;
    padding: 12px 16px; 
    border-radius: 10px;
    border: 1px solid rgba(100, 130, 100, 0.3);
    background: rgba(30, 20, 10, 0.6);
    color: #F8F5F0;
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
    text-align: left;
}

    input::placeholder,
    textarea::placeholder {
        color: rgba(230, 230, 230, 0.6);
        font-style: italic;
    }

    input:hover,
    select:hover,
    textarea:hover {
        border-color: #3FA64A;
        box-shadow: 0 0 8px rgba(63, 166, 74, 0.4);
    }

    input:focus,
    select:focus,
    textarea:focus {
        border-color: #4CD964;
        background: rgba(35, 25, 15, 0.8);
        box-shadow: 0 0 15px rgba(76, 217, 100, 0.6);
        outline: none;
    }

/* --- Animated Button --- */
.btn-animated-confirm {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #245224, #4A2D1E);
    color: #FFF;
    border: none;
    padding: 14px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

    .btn-animated-confirm:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(76, 217, 100, 0.4);
        background: linear-gradient(90deg, #2D692E, #633D1E);
    }

    .btn-animated-confirm:active {
        transform: scale(0.95);
    }

    .btn-animated-confirm .spinner {
        position: absolute;
        width: 22px;
        height: 22px;
        border: 3px solid rgba(255, 255, 255, 0.5);
        border-top-color: #fff;
        border-radius: 50%;
        opacity: 0;
        animation: spin 0.8s linear infinite;
        transition: all 0.3s ease;
    }

    .btn-animated-confirm:active .btn-text {
        opacity: 0;
        transform: scale(0.9);
    }

    .btn-animated-confirm:active .spinner {
        opacity: 1;
        transform: scale(1);
    }

.btn-text {
    transition: all 0.3s ease;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Responsive --- */
@media (max-width: 576px) {
    .btn-animated-confirm {
        font-size: 1rem;
        padding: 10px 25px;
    }

    fieldset {
        padding: 15px;
    }
}

.red-star {
    color: #FF6B6B;
}

.AlsienTable td:nth-child(3n+2) {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
}
