* {
    box-sizing: border-box;
    font-family: "Segoe UI", "Cinzel", serif;
}

body {
    margin: 0;
    background: radial-gradient(circle at top, #1b0f2b, #0f0a16 60%, #08050c);
    color: #e8d9ff;
}

.container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.card {
    background: rgba(20, 12, 32, 0.9);
    border: 1px solid rgba(140, 92, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card.center {
    text-align: center;
}

h1 {
    margin-top: 0;
    color: #f3e6ff;
}

.button {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, #8f5bff, #f0c46a);
    color: #1b0f2b;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(143, 91, 255, 0.4);
}

.button.danger {
    background: linear-gradient(135deg, #ff5f6d, #ffb86b);
}

.button.small {
    padding: 6px 10px;
    font-size: 12px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

label {
    display: block;
    margin-top: 12px;
    color: #d7c4ff;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid rgba(143, 91, 255, 0.3);
    background: #0f0a16;
    color: #f3e6ff;
}

textarea {
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.alert {
    background: rgba(255, 95, 109, 0.2);
    border: 1px solid rgba(255, 95, 109, 0.4);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.table {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
}

.row {
    display: grid;
    grid-template-columns: 60px 1fr 120px 80px 90px 140px 140px 90px 240px;
    gap: 8px;
    padding: 10px;
    background: rgba(15, 10, 22, 0.8);
    border-radius: 10px;
    align-items: center;
}

.row.head {
    background: rgba(143, 91, 255, 0.15);
    font-weight: 600;
}

.inline {
    display: inline;
}

@media (max-width: 900px) {
    .row {
        grid-template-columns: 1fr;
    }
    .actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
