* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f7;
    color: #222;
}

.ga-header {
    background: linear-gradient(90deg, #b30000, #e53935);
    color: #fff;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.ga-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ga-logo {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.8);
    background: rgba(0,0,0,0.15);
    white-space: nowrap;
}

.ga-site-title {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.95rem;
}

.ga-subtitle {
    font-size: 0.8rem;
    opacity: 0.85;
}

.ga-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ga-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.1);
}

.ga-nav a:hover {
    background: rgba(0,0,0,0.25);
}

.ga-main {
    max-width: 1100px;
    margin: 1.5rem auto 2.5rem;
    padding: 0 1rem;
}

.ga-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.ga-section h1 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.ga-section h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.ga-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.ga-card {
    display: block;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

.ga-card h2 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.ga-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    border-color: #c62828;
}

.ga-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 650px;
}

.ga-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 0.25rem;
}

.ga-form input,
.ga-form textarea,
.ga-form select {
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    font-family: inherit;
}

.ga-form textarea {
    resize: vertical;
}

.ga-form button {
    align-self: flex-start;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #c62828;
    color: #fff;
    font-size: 0.95rem;
}

.ga-form button:hover {
    background: #b71c1c;
}

.ga-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.75rem 1rem;
}

.ga-form-grid .ga-form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.ga-button-secondary {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #999;
    background: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    color: #333;
}

.ga-button-secondary:hover {
    background: #f2f2f2;
}

.ga-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.ga-table th,
.ga-table td {
    border-bottom: 1px solid #e0e0e0;
    padding: 0.4rem 0.35rem;
    text-align: left;
    vertical-align: top;
}

.ga-table th {
    background: #fafafa;
    font-weight: 600;
}

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

.ga-alert {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.ga-alert-error {
    background: #ffebee;
    border: 1px solid #e57373;
    color: #b71c1c;
}

.ga-alert-success {
    background: #e8f5e9;
    border: 1px solid #81c784;
    color: #2e7d32;
}

.ga-login {
    max-width: 480px;
    margin: 0 auto;
}

.ga-footer {
    background: #222;
    color: #bbb;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
}

.ga-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 700px) {
    .ga-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .ga-nav {
        width: 100%;
        justify-content: flex-start;
    }
}
