* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-header {
    background: #0f4c81;
    color: #ffffff;
    padding: 24px 0 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header h1 {
    margin: 0 0 6px;
    font-size: 30px;
}

.site-header p {
    margin: 0 0 14px;
    opacity: 0.95;
}

.nav a {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    margin-right: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    background: rgba(255,255,255,0.14);
}

.nav a:hover {
    background: rgba(255,255,255,0.24);
}

.card {
    background: #ffffff;
    margin: 22px 0;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15, 76, 129, 0.08);
}

.form-card {
    max-width: 760px;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

input[type="text"],
input[type="url"],
textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    font-size: 15px;
}

.search-form input[type="text"] {
    flex: 1 1 420px;
}

button,
.btn-secondary,
.btn-small {
    display: inline-block;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

button {
    background: #0f4c81;
    color: #ffffff;
    padding: 11px 18px;
}

button:hover {
    background: #0c3d67;
}

.btn-secondary {
    background: #e5edf6;
    color: #0f4c81;
    padding: 11px 18px;
}

.btn-secondary:hover {
    background: #d8e5f2;
}

.btn-small {
    background: #198754;
    color: #ffffff;
    padding: 8px 12px;
}

.btn-small:hover {
    background: #146c43;
}

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

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

.button-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.table th,
.table td {
    border: 1px solid #d9e2ec;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.table th {
    background: #0f4c81;
    color: #ffffff;
}

.table tr:nth-child(even) {
    background: #f8fbff;
}

.alert {
    padding: 14px 16px;
    border-radius: 6px;
    margin: 16px 0;
}

.alert.success {
    background: #e8f7ee;
    color: #146c43;
    border: 1px solid #b7e3c8;
}

.alert.error {
    background: #fdebec;
    color: #a12622;
    border: 1px solid #f5c2c7;
}

.muted {
    color: #6b7280;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.status.ok {
    background: #d1e7dd;
    color: #146c43;
}

.status.pending {
    background: #fff3cd;
    color: #8a6d1d;
}

.site-footer {
    padding: 18px 0 28px;
    color: #6b7280;
    text-align: center;
}
