/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body */
body {
    background: #f4f6f9;
    padding: 20px;
}

/* Container */
.container {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Heading */
h2, h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Form */
form {
    margin-bottom: 20px;
}

input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* Button */
button {
    background: #007bff;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #0056b3;
}

/* Links */
a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th {
    background: #007bff;
    color: white;
    padding: 10px;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

table tr:hover {
    background: #f1f1f1;
}

/* Action links */
td a {
    margin-right: 8px;
    color: #007bff;
}

td a:hover {
    color: #0056b3;
}

/* Message */
p {
    margin-bottom: 10px;
}

/* Card style for sections */
.card {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    table, tr, td, th {
        font-size: 12px;
    }
}

/* Dashboard Cards */
.dashboard-cards {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.box {
    flex: 1;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    color: white;
}

/* Different colors */
.box:nth-child(1) {
    background: linear-gradient(135deg, #28a745, #218838);
}

.box:nth-child(2) {
    background: linear-gradient(135deg, #17a2b8, #117a8b);
}

.box h3 {
    margin-bottom: 10px;
}

.box p {
    font-size: 28px;
    font-weight: bold;
}