/* ==========================
   GLOBAL
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:linear-gradient(
        135deg,
        #4338ca 0%,
        #7c3aed 50%,
        #ec4899 100%
    );
    min-height:100vh;
    padding:30px 15px;
    color:#1f2937;
}

/* ==========================
   MAIN CONTAINER
========================== */

.container{
    max-width:1300px;
    margin:auto;
    background:#ffffff;
    border-radius:30px;
    padding:40px;
    box-shadow:
        0 25px 60px rgba(0,0,0,.25);
}

/* ==========================
   HEADER
========================== */

h1{
    text-align:center;
    font-size:42px;
    color:#6d28d9;
    margin-bottom:10px;
}

.subtitle{
    text-align:center;
    color:#6b7280;
    margin-bottom:35px;
    font-size:16px;
}

/* ==========================
   SECTION CARDS
========================== */

.section-card{
    background:#fff;
    border-radius:22px;
    padding:25px;
    margin-bottom:25px;
    border:1px solid #ececec;
    transition:.3s;
}

.section-card:hover{
    transform:translateY(-2px);
    box-shadow:
        0 10px 30px rgba(124,58,237,.10);
}

.section-title{
    font-size:22px;
    font-weight:700;
    color:#6d28d9;
    margin-bottom:20px;
    padding-bottom:10px;
    border-bottom:2px solid #f3e8ff;
}

/* ==========================
   FORM GRID
========================== */

.field-row{
    display:flex;
    gap:20px;
    margin-bottom:20px;
}

.field{
    flex:1;
}

label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#374151;
}

/* ==========================
   INPUTS
========================== */

input[type=text],
input[type=email],
input[type=number],
input[type=tel],
textarea,
select{

    width:100%;

    padding:14px 16px;

    background:#fafafa;

    border:2px solid #e5e7eb;

    border-radius:15px;

    font-size:15px;

    transition:.3s;
}

input:focus,
textarea:focus,
select:focus{

    outline:none;

    background:#fff;

    border-color:#8b5cf6;

    box-shadow:
        0 0 0 5px rgba(139,92,246,.12);
}

textarea{
    min-height:120px;
    resize:vertical;
}

/* ==========================
   PREMIUM DROPDOWN
========================== */

select{

    appearance:none;
    -webkit-appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:right 15px center;

    background-size:16px;

    padding-right:45px;
}

/* ==========================
   RADIO BUTTONS
========================== */

/* ==========================
   PREMIUM RADIO BUTTONS
========================== */

.radio-group{

    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:10px;
}

.radio-pill{

    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    min-width:160px;

    padding:14px 22px;

    background:#fafafa;

    border:2px solid #e5e7eb;

    border-radius:16px;

    cursor:pointer;

    transition:all .25s ease;

    font-weight:600;

    color:#374151;
}

.radio-pill input{

    display:none;
}

.radio-pill:hover{

    border-color:#8b5cf6;

    background:#faf5ff;

    transform:translateY(-2px);

    box-shadow:
    0 10px 20px rgba(139,92,246,.12);
}

.radio-pill:has(input:checked){

    background:linear-gradient(
        135deg,
        #7c3aed,
        #9333ea
    );

    border-color:#7c3aed;

    color:white;

    box-shadow:
    0 12px 25px rgba(124,58,237,.35);
}

.radio-pill:has(input:checked) span{

    color:white;
}
/* ==========================
   ROLE GRID
========================== */

.role-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(240px,1fr));

    gap:14px;
}

.role-grid label{

    display:flex;
    align-items:center;
    gap:10px;

    background:#fafafa;

    border:2px solid #ececec;

    padding:15px;

    border-radius:16px;

    cursor:pointer;

    transition:.3s;

    font-weight:600;
}

.role-grid label:hover{

    border-color:#8b5cf6;

    background:#f5f3ff;

    transform:translateY(-2px);
}

.role-grid input{
    accent-color:#7c3aed;
}

/* ==========================
   PRE EVENT GRID
========================== */

.checkbox-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(240px,1fr));

    gap:14px;
}

.checkbox-grid label{

    display:flex;
    align-items:center;
    gap:10px;

    padding:15px;

    background:#fff7ed;

    border:2px solid #fed7aa;

    border-radius:16px;

    cursor:pointer;

    transition:.3s;
}

.checkbox-grid label:hover{

    background:#ffedd5;

    transform:translateY(-2px);
}

.checkbox-grid input{
    accent-color:#f97316;
}

/* ==========================
   CHECKBOXES
========================== */

input[type=checkbox]{
    width:18px;
    height:18px;
}

/* ==========================
   BUTTONS
========================== */

.submit-area{
    text-align:center;
    margin-top:30px;
}

.btn-submit{

    background:linear-gradient(
        135deg,
        #7c3aed,
        #ec4899
    );

    color:#fff;

    border:none;

    border-radius:16px;

    padding:16px 40px;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

.btn-submit:hover{

    transform:translateY(-3px);

    box-shadow:
        0 15px 30px rgba(124,58,237,.35);
}

.btn-reset{

    margin-left:10px;

    background:#e5e7eb;

    border:none;

    border-radius:16px;

    padding:16px 40px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;
}

.btn-reset:hover{
    background:#d1d5db;
}

/* ==========================
   NOTICE BOX
========================== */

.notice{
    margin-top:15px;
    color:#6b7280;
    font-size:14px;
}

/* ==========================
   SUCCESS MESSAGE
========================== */

.success-box{

    background:#ecfdf5;

    border:2px solid #22c55e;

    color:#166534;

    text-align:center;

    padding:25px;

    border-radius:18px;

    margin-bottom:25px;

    font-size:18px;

    font-weight:600;
}

.success-box a{

    display:inline-block;

    margin-top:12px;

    background:#22c55e;

    color:#fff;

    padding:10px 20px;

    border-radius:10px;

    text-decoration:none;
}

/* ==========================
   ERROR MESSAGE
========================== */

.error-box{

    background:#fee2e2;

    border:2px solid #ef4444;

    color:#991b1b;

    text-align:center;

    padding:20px;

    border-radius:18px;

    margin-bottom:25px;
}

/* ==========================
   ADMIN TABLE
========================== */

table{
    width:100%;
    border-collapse:collapse;
}

table th{

    background:#7c3aed;

    color:white;

    padding:12px;
}

table td{

    padding:12px;

    border:1px solid #e5e7eb;
}

table tr:nth-child(even){
    background:#fafafa;
}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .container{
        padding:20px;
    }

    h1{
        font-size:28px;
    }

    .field-row{
        flex-direction:column;
        gap:15px;
    }

    .btn-submit,
    .btn-reset{
        width:100%;
        margin:5px 0;
    }

    .role-grid,
    .checkbox-grid{
        grid-template-columns:1fr;
    }


    
}
.agreement-box{
    display:flex;
    align-items:flex-start;
    gap:15px;
    
    padding:20px;
    
    background:#faf5ff;
    
    border:2px solid #ddd6fe;
    
    border-radius:16px;
    
    cursor:pointer;
    
    transition:.3s;
    
    line-height:1.7;
   
    
    }
    
    .agreement-box:hover{
    
   
    background:#f3e8ff;
    
    border-color:#8b5cf6;
   
    
    }
    
    .agreement-box input{
    
   
    width:22px;
    height:22px;
    
    margin-top:3px;
    
    accent-color:#7c3aed;
    
    flex-shrink:0;
   
    
    }
    
    .agreement-box span{
    
   
    font-size:14px;
    color:#374151;
   
    
    }


    .volunteer-card{

        background:#fff;
    
        border-radius:20px;
    
        padding:25px;
    
        margin-bottom:25px;
    
        box-shadow:
        0 5px 20px rgba(0,0,0,.08);
    
        border-left:6px solid #7c3aed;
    }
    
    .volunteer-card h2{
    
        color:#7c3aed;
    
        margin-bottom:20px;
    
        padding-bottom:10px;
    
        border-bottom:2px solid #f3f4f6;
    }
    
    .detail-row{
    
        margin-bottom:12px;
    
        line-height:1.7;
    
        word-wrap:break-word;
    }
    
    .detail-row strong{
    
        color:#111827;
    }


    .detail-card{
        background:#fff;
        padding:25px;
        border-radius:20px;
        margin-top:20px;
        box-shadow:0 5px 20px rgba(0,0,0,.08);
    }
    
    .detail-card p{
        margin-bottom:15px;
        line-height:1.7;
    }
    
    .back-btn{
        display:inline-block;
        background:#6b7280;
        color:#fff;
        padding:10px 16px;
        border-radius:8px;
        text-decoration:none;
    }
    

    .error-box{

        background:#fee2e2;
    
        border:2px solid #ef4444;
    
        color:#991b1b;
    
        padding:15px;
    
        border-radius:12px;
    
        margin-bottom:20px;
    
        text-align:center;
    
        font-weight:600;
    }


/**MOBILE**\


   