/* ========================= */
/* 🔄 Reset */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* ========================= */
/* 🌌 Background */
/* ========================= */
body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

/* ========================= */
/* 🏷 Heading */
/* ========================= */
h1 {
    color: #ffffff;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-align: center;
    letter-spacing: 1px;
}

/* ========================= */
/* 📦 Card Container */
/* ========================= */
body > div {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: 80px 1fr auto; /* FIXED */
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px 25px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
}

/* Hover Effect */
body > div:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

/* ========================= */
/* 🔢 Number Column */
/* ========================= */
body > div div:nth-child(1) {
    font-size: 1.4rem;
    font-weight: bold;
    color: #00eaff;
    text-align: center;
}

/* ========================= */
/* 📘 Subject Column */
/* ========================= */
body > div div:nth-child(2) {
    font-size: 1.1rem;
    color: #ffffff;
}

/* ========================= */
/* 🔘 Shared Button Style */
/* ========================= */
a,
select {
    width: 110px; /* SAME FIXED WIDTH */
    text-decoration: none;
    background: linear-gradient(45deg, #00eaff, #00b3ff);
    color: #000;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: 0.3s ease;
    text-align: center;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Hover Effect */
a:hover,
select:hover {
    background: linear-gradient(45deg, #00b3ff, #00eaff);
    transform: scale(1.05);
}

select:focus {
    outline: none;
}

/* ========================= */
/* 📱 Mobile Responsive */
/* ========================= */
@media (max-width: 768px) {

    h1 {
        font-size: 1.8rem;
    }

    body > div {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
        padding: 18px;
    }

    body > div div:nth-child(1) {
        font-size: 1.3rem;
    }

    body > div div:nth-child(2) {
        font-size: 1rem;
    }

    a,
    select {
        width: 100%;
        padding: 10px;
    }
}