/* Main shared styles for all dashboard pages */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f7fa;
    color: #333;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar h1 {
    font-family: 'Instrument Serif', serif;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    font-size: 14px;
    color: #666;
}

.nav-link {
    padding: 8px 16px;
    color: #000;
    text-decoration: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-link:hover {
    background: #f0f0f0;
}

.nav-link.active {
    background: #f0f0f0;
}

.btn-logout {
    padding: 8px 16px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s;
}

.btn-logout:hover {
    background: #0052a3;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* Cards */
.card {
    background: white;
    border-radius: 0;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
}

.card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
}

.badge.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge.inactive {
    background: #ffebee;
    color: #c62828;
}

.badge.verified {
    background: #e3f2fd;
    color: #1565c0;
}

.badge.unverified {
    background: #fff3e0;
    color: #e65100;
}

/* Loading states */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 0;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.alert.error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert.success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* Buttons */
.btn {
    padding: 8px 16px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #0052a3;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #6c757d;
    font-weight: bold;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
    font-weight: bold;
}

.btn-danger:hover {
    background: #c82333;
}
