* {
    box-sizing: border-box;
}

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

a {
    color: #61dafb;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.app-header {
    background: #15171f;
    border-bottom: 1px solid #272a36;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-header-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.app-header-title span {
    color: #61dafb;
}

.app-header-nav a {
    margin-left: 16px;
    font-size: 0.95rem;
}

.app-container {
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 16px 40px;
}

.card {
    background: #15171f;
    border: 1px solid #272a36;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 600;
}

button,
.button {
    display: inline-block;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    background: #61dafb;
    color: #0b0c10;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
}

button:hover,
.button:hover {
    background: #4ac2e3;
}

button.danger {
    background: #f25757;
    color: white;
}
button.danger:hover {
    background: #e04848;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #3b3f4f;
    background: #10121a;
    color: #f5f5f5;
    margin-top: 4px;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 0.9rem;
}

table th, table td {
    border: 1px solid #272a36;
    padding: 8px;
    text-align: left;
}

table th {
    background: #20232b;
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 0.75rem;
    background: #272a36;
}

.badge.green {
    background: #2f855a;
}

.badge.red {
    background: #c53030;
}

.badge.yellow {
    background: #b7791f;
}

.app-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #8a8fa5;
    padding: 12px;
    border-top: 1px solid #272a36;
    margin-top: 40px;
}
