/* ===== Global Reset ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Body ===== */
body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f4f6f9;
    color: #222;
    line-height: 1.6;
    font-size: 18px;   /* Important for mobile readability */
}

/* ===== Container ===== */
.container {
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

/* ===== Card Style ===== */
.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

/* ===== Headings ===== */
h1, h2, h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

/* ===== Forms ===== */
label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

/* ===== Tables ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th, table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

/* ===== Mobile Improvements ===== */
@media (max-width: 768px) {

    body {
        font-size: 19px;  /* Slightly larger for phones */
    }

    .container {
        width: 100%;
        padding: 15px;
    }

    .card {
        padding: 18px;
    }

    button {
        width: 100%;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
