
/* Layout */
.sub-container {
    padding: 16px;
    max-width: 720px;
    margin: auto;
}

.select-sub-view {
    height: 90vh;
}

/* Hero */
.subject-hero {
    background: white;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.subject-hero h1 {
    font-size: 26px;
    text-align: center;
}

.subject-hero p {
    font-size: 14px;
    color: #64748b;
}

/* Subjects */
.subjects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Subject Card */
.subject-card {
    background: white;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.subject-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.subject-info i {
    font-size: 22px;
    color: #2563eb;
}

/* Start Button */
button {
    background: linear-gradient(135deg, #138a62, #078c5f);
    color: white;
    border: none;
    padding: 10px 26px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
}

/* ===== Tablet ===== */
@media (max-width: 920px) {
   
    .subject-hero h1 {
        font-size: 24px;
    }

    .subjects {
        grid-template-columns: 1fr;
    }

    button {
        padding: 8px 20px;
    }
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
    .sub-container {
        max-width: 1000px;
    }

    .subjects {
        gap: 18px;
    }

    .subject-card {
        padding: 20px 24px;
    }

    .subject-info {
        font-size: 18px;
    }
}