* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #f4f6f9;
    color: #1a1a1a;
    line-height: 1.5;
}

header {
    background: #1e3a5f;
    color: white;
    padding: 20px 24px;
}

header h1 { font-size: 22px; }
header p { font-size: 14px; opacity: 0.8; margin-top: 4px; }

header nav { margin-top: 12px; }
header nav a {
    color: white;
    margin-right: 16px;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
}
header nav a:hover { opacity: 1; text-decoration: underline; }

main {
    max-width: 720px;
    margin: 24px auto;
    padding: 0 16px;
}

.intro { margin-bottom: 20px; }

form {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 4px;
}

input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfd6df;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #1e3a5f;
}

button {
    margin-top: 18px;
    background: #1e3a5f;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
}
button:hover { background: #16304f; }

.success-box {
    background: white;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
}
.success-box p { margin-bottom: 12px; }

.btn {
    display: inline-block;
    margin-top: 16px;
    background: #1e3a5f;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
}

/* admin */
.appeal-card {
    background: white;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.appeal-head {
    font-size: 16px;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.appeal-meta {
    font-size: 13px;
    color: #667;
    margin-bottom: 10px;
}
.appeal-text {
    white-space: pre-wrap;
    margin-bottom: 12px;
}
.appeal-form {
    background: #f8f9fb;
    padding: 14px;
    border-radius: 6px;
    margin-top: 12px;
}
.appeal-form label { font-size: 13px; }
.appeal-form button { margin-top: 12px; padding: 8px 16px; font-size: 14px; }

.status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-new { background: #ffefc2; color: #8a6400; }
.status-in_progress { background: #cfe4ff; color: #16457a; }
.status-answered { background: #c9f2d1; color: #155a2a; }
.status-closed { background: #e0e0e0; color: #555; }

footer {
    text-align: center;
    padding: 24px;
    font-size: 13px;
    color: #778;
}