/* Base reset and typography */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* General containers */
.container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Headings and text */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #111;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
button,
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #0d6efd;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

button:hover,
.btn:hover {
    background-color: #0b5ed7;
}

/* Links */
a {
    color: #0d6efd;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
}
th {
    background-color: #f1f1f1;
    font-weight: bold;
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Forms */
input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
input:focus, select:focus, textarea:focus {
    border-color: #0d6efd;
    outline: none;
}

/* Mobile responsive utilities */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    h1 {
        font-size: 1.75rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
        width: 100%;
    }
    thead {
        display: none;
    }
    tr {
        margin-bottom: 1rem;
        border-bottom: 2px solid #eee;
    }
    td {
        position: relative;
        padding-left: 50%;
        text-align: left;
    }
    td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 10px;
        font-weight: bold;
        text-transform: capitalize;
    }
}
