.login-page {
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: sans-serif;
}
.login-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 90%;
}
.login-container .logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 180px;
}
.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
}
.login-container label {
    display: block;
    margin-top: 15px;
}
.login-container input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
}
.login-container button {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background: <?= PRIMARY_COLOR ?>;
    color: white;
    border: none;
    border-radius: 5px;
}
.error {
    background: #ffe0e0;
    color: #a00;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #a00;
}

.dashboard-page {
    font-family: sans-serif;
    padding: 20px;
    background: #f2f2f2;
}

.logo {
    max-height: 40px;
}
.user-info {
    font-size: 14px;
}
main {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}
.admin-tools a,
.tech-tools a {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 15px;
    background: <?= ACCENT_COLOR ?>;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.data-table th, .data-table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}
.button {
    display: inline-block;
    background: <?= ACCENT_COLOR ?>;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 6px;
}
.button:hover {
    background: #d77d00;
}

.form-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}
.form-card label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}
.form-card input,
.form-card textarea,
.form-card button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: <?= PRIMARY_COLOR ?>;
    color: white;
    padding: 10px 20px;
}
.logo {
    max-height: 40px;
}
.logo-link {
    display: flex;
    align-items: center;
}
.user-info {
    font-size: 14px;
}
footer.footer-bar {
    text-align: center;
    padding: 15px;
    font-size: 13px;
    background: #eee;
    margin-top: 30px;
    color: #666;
}

.content {
    padding: 20px;
}
.admin-tools .button,
.tech-tools .button {
    display: inline-block;
    background: <?= ACCENT_COLOR ?>;
    color: #fff;
    padding: 10px 20px;
    margin: 5px 0;
    text-decoration: none;
    border-radius: 6px;
}
.button:hover {
    background: #cc7400;
}

.dashboard-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}
.card-button {
    display: inline-block;
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border: 2px solid <?= PRIMARY_COLOR ?>;
    border-radius: 12px;
    width: 200px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}
.card-button:hover {
    background: <?= ACCENT_COLOR ?>;
    color: white;
    border-color: <?= ACCENT_COLOR ?>;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: <?= PRIMARY_COLOR ?>;
    color: white;
    padding: 10px 20px;
    flex-wrap: wrap;
}
.header-left {
    flex: 1;
    min-width: 150px;
}
.dashboard-logo {
    height: 50px;
}
.header-nav {
    flex: 2;
    text-align: center;
}
.header-nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.header-nav a:hover {
    text-decoration: underline;
}
.header-right {
    flex: 1;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.search-form input {
    padding: 5px 10px;
    border-radius: 4px;
    border: none;
}
.logout-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.logout-link:hover {
    text-decoration: underline;
}
.user-info {
    margin-right: 10px;
    font-size: 0.9em;
}
@media (max-width: 768px) {
    .header-nav, .header-right {
        text-align: center;
        margin-top: 10px;
        flex-basis: 100%;
    }
}
.dashboard-content {
    padding: 20px;
}

.site-header {
    max-width: 1400px;
    margin: 0 auto;
}
.popup-alert {
    background-color: #ffe0e0;
    color: #a00;
    border: 1px solid #a00;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.popup-alert a {
    color: <?= ACCENT_COLOR ?>;
    text-decoration: underline;
}

.no-results-row td {
    padding: 30px 20px;
}

