body {
    font-family: -apple-system, "Segoe UI", sans-serif;
    background: #0f2b1d;
    color: #eafaf0;
    display: flex;
    justify-content: center;
    padding: 40px 16px;
}

.card {
    background: #163d28;
    border-radius: 12px;
    padding: 32px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

h1 { margin-top: 0; }

form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
}

label { font-size: 0.85rem; opacity: 0.85; margin-top: 8px; }

input, select {
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}

button {
    margin-top: 20px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #a3d977;
    color: #0f2b1d;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

button:hover { background: #b8e68e; }

.matches { list-style: none; padding: 0; }
.matches li {
    background: #0f2b1d;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
}

a { color: #a3d977; display: inline-block; margin-top: 16px; }

.top-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.top-bar a, .top-bar form { margin-top: 0; font-size: 0.85rem; }

.link-button {
    background: none;
    border: none;
    color: #a3d977;
    padding: 0;
    margin-top: 0;
    font-size: 0.85rem;
    font-weight: normal;
    cursor: pointer;
    text-decoration: underline;
}

.link-button:hover { background: none; color: #b8e68e; }

.flash {
    background: #4d2a1f;
    color: #ffd7c9;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.actions form { margin-top: 0; flex: 1; min-width: 100px; }
.actions .status { margin-top: 0; }

.actions button {
    margin-top: 0;
    width: 100%;
    padding: 8px;
    font-size: 0.9rem;
}

.actions button.decline { background: #d97777; }
.actions button.decline:hover { background: #e68e8e; }

.status {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.85;
}

@media (max-width: 480px) {
    body { padding: 16px; }
    .card { padding: 20px; }
}
