/* style.css - common styles for all admin pages */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f4f4;
}

header {
    background: #007bff;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 20px;
}

.tab-container {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    transition: background 0.3s;
    border-bottom: 2px solid transparent;
}

.tab:hover {
    background-color: #f0f0f0;
}

.tab.active {
    border-bottom: 3px solid #007bff;
    font-weight: bold;
    background-color: #e9f0ff;
}

.tab-content {
    display: none;
    padding: 20px;
    background: #fff;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .tab {
        font-size: 14px;
        padding: 10px;
    }
    header {
        font-size: 18px;
        padding: 12px;
    }
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

a {
    margin: 0 5px;
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Forms */
input, select, textarea, button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}
