﻿/*fieldset {
    background: #ffffff;
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px -5px rgba(44, 22, 75, 0.05), 0 8px 10px -6px rgba(44, 22, 75, 0.05);
    transition: all 0.3s ease;
}

    fieldset legend {
        font-weight: 700;
        font-size: 1.25rem;
        color: #2c164b;
        padding: 0 12px;
        border-bottom: 2px solid #7c3aed; 
        margin-bottom: 20px;
        width: auto;*/
/*    }*/


fieldset legend {
    font-weight: 700;
    font-size: 1.25rem;
    color: #2c164b;
    padding: 0 12px;
    margin-bottom: 20px;
    width: auto;
    position: relative;
    border: none;
}

    fieldset legend::after {
        content: "";
        position: absolute;
        left: 12px;
        bottom: -5px;
        width: 55px;
        height: 3px;
        border-radius: 10px;
        background: linear-gradient( 90deg, #7c3aed, #c4b5fd, #7c3aed );
        background-size: 200% 100%;
        animation: legendGlow 2s ease-in-out infinite;
    }

@keyframes legendGlow {
    0% {
        background-position: 100% 0;
    }

    50% {
        background-position: 0% 0;
    }

    100% {
        background-position: 100% 0;
    }
}





.AlseinTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

    .AlseinTable td {
        padding: 8px 6px;
        vertical-align: middle;
    }

        .AlseinTable td:first-child {
            color: #db2777;
            font-weight: bold;
            text-align: center;
            width: 20px;
        }

        .AlseinTable td:nth-child(2) {
            font-weight: 600;
            color: #4b5563;
            width: 140px;
        }

    .AlseinTable .form-control {
        border-radius: 10px;
        border: 1.5px solid #d8b4fe;
        padding: 10px 14px;
        font-size: 0.95rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background-color: #faf5ff;
    }

        .AlseinTable .form-control:focus {
            border-color: #7c3aed;
            background-color: #ffffff;
            box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
            outline: none;
            transform: translateY(-1px);
        }

.btn-success.btn-x {
    position: relative;
    background: linear-gradient(135deg, #4a286b 0%, #2c164b 50%, #1e0f35 100%);
    border: 2px solid rgba(216, 180, 254, 0.4);
    border-radius: 16px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(44, 22, 75, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

    .btn-success.btn-x::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 60deg, transparent, rgba(192, 132, 252, 0.2), transparent, rgba(236, 72, 153, 0.2), transparent );
        transform: rotate(45deg);
        animation: buttonGlowFlow 4s linear infinite;
        pointer-events: none;
    }


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #faf5ff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c084fc, #7c3aed);
    border-radius: 10px;
    border: 2px solid #faf5ff;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #a855f7, #6d28d9);
    }











@keyframes buttonGlowFlow {
    0% {
        transform: translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateY(100%) rotate(45deg);
    }
}

.btn-success.btn-x:hover {
    background: linear-gradient(135deg, #5c3384 0%, #3b1c5c 50%, #2c164b 100%);
    border-color: rgba(216, 180, 254, 0.8);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.6), 0 0 15px rgba(236, 72, 153, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.btn-success.btn-x:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(44, 22, 75, 0.4);
}

.LoadingIcon {
    display: none; 
    width: 28px;
    height: 28px;
    margin-left: 12px;
    vertical-align: middle;
    animation: rotateSpinner 0.8s linear infinite;
}

@keyframes rotateSpinner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
