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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f0f2f5;
    color: #2b2f38;
    line-height: 1.5;
}

header {
    background: #1f3a5f;
    color: #fff;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


header h1 { font-size: 1.4rem; }

header nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 18px;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

/* header nav a:hover { background: rgba(255,255,255,0.15); } */
header nav a:hover { background: yellowgreen; }
.container {
    max-width: 960px;
    margin: 30px auto;
    padding: 0 20px;

}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.card h2 {
    margin-bottom: 18px;
    color: #1f3a5f;
    font-size: 1.25rem;
    border-bottom: 2px solid #e8ecf1;
    padding-bottom: 10px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd3dc;
    border-radius: 5px;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1f3a5f;
}

.btn {
    display: inline-block;
    background: #1f3a5f;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 5px;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover { background: #16283f; }


.btn-danger { background: #b5333a; }
.btn-danger:hover { background: #8f2027; }

.btn-secondary { background: #6b7280; }
.btn-secondary:hover { background: #52585f; }

.alert {
    padding: 12px 16px;
    border-radius: 5px;
    margin-bottom: 18px;
    font-size: 0.92rem;
}

.alert-success { background: #dcf5e3; color: #1c6b34; border: 1px solid #a9e2bc; }
.alert-error   { background: #fbe1e1; color: #8f2027; border: 1px solid #f0aeae; }
.alert-info    { background: #e1eefb; color: #1f4f7a; border: 1px solid #aecdf0; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

table th, table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e8ecf1;
    font-weight: bold;
}

table th {
    background: #f5f7fa;
    color: #1f3a5f;
    font-weight: 600;
}

table tr:hover { background: #fafbfc; }

.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-updated { background: #fff3cd; color: #8a6212; }

.landing-hero {
    text-align: center;
    padding: 60px 20px;
}

.landing-hero h1 {
    color: #1f3a5f;
    font-size: 2rem;
    margin-bottom: 12px;
}

.landing-hero p {
    color: #5a6270;
    margin-bottom: 30px;
}

.landing-buttons a {
    margin: 0 10px;
}

.update-item {
    padding: 14px 0;
    border-bottom: 1px solid #e8ecf1;
}

.update-item:last-child { border-bottom: none; }

.update-item h3 { color: #1f3a5f; font-size: 1rem; margin-bottom: 4px; }
.update-item .date { color: #8a8f98; font-size: 0.8rem; margin-bottom: 6px; }

.actions a { margin-right: 10px; font-size: 0.85rem; }

footer {
    text-align: center;
    padding: 20px;
    color: #8a8f98;
    font-size: 0.85rem;
}
