:root {
    --primary-color: #dc0018; /* Swiss red */
    --secondary-color: #333333;
    --bg-color: #f5f5f5;
    --card-bg: #ffffff;
    --text-color: #212121;
    --border-color: #e5e5e5;
    --header-height: 80px;
}

html, body {
    height: 100%;
}

body {
    font-family: "Frutiger", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

header {
    display: none;
}

nav {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    flex: 1 0 auto;
}

.card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

h1, h2, h3 {
    margin-top: 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

.btn:hover {
    background-color: #b30014;
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #000;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th {
    text-align: left;
    background-color: #f9f9f9;
    border-bottom: 2px solid var(--border-color);
    padding: 12px;
}

td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

input[type="text"], input[type="password"], input[type="number"], select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

.badge-success { background: #e6f4ea; color: #1e8e3e; }
.badge-error { background: #fce8e6; color: #d93025; }

.info-box {
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.info-box h3, .info-box h4 {
    margin-top: 0;
    color: var(--secondary-color);
}

.info-box p:last-child {
    margin-bottom: 0;
}

.user-info {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

footer {
    flex-shrink: 0;
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    color: #666;
    border-top: 1px solid var(--border-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 50%;
    max-width: 600px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.modal-footer {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
