/* Reset + Base */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    max-width: 1000px;
    width: 90%;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Headings */
h2 {
    text-align: center;
    color: #2c3e50;
}

h3 {
    text-align: center;
    color: green;
}

/* Inputs */
input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 15px;
}

/* Button */
button {
    width: 100%;
    padding: 12px;
    background: #2c7be5;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #1a5ed8;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    overflow-x: auto;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    font-size: 14px;
}

th {
    background: #eaeaea;
}

/* ===================== */
/* 📱 Mobile (max 600px) */
/* ===================== */
@media (max-width: 600px) {

    .container {
        width: 95%;
        padding: 15px;
        margin: 20px auto;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    input, button {
        font-size: 14px;
    }

    th, td {
        padding: 6px;
        font-size: 12px;
    }
}

/* ===================== */
/* 📱 Tablet (600–900px) */
/* ===================== */
@media (min-width: 601px) and (max-width: 900px) {

    .container {
        width: 92%;
    }

    th, td {
        font-size: 13px;
    }
}
