* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}

.app {
    display: grid;
    grid-template-columns: 470px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: #111827;
    border-right: 1px solid #334155;
    padding: 24px;
}

.content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

h1, h2 {
    margin-top: 0;
}

.muted {
    color: #94a3b8;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    margin-top: 20px;
}

.number-btn {
    height: 38px;
    border: 1px solid #334155;
    border-radius: 8px;
    background: #1e293b;
    color: #e5e7eb;
    cursor: pointer;
    font-weight: bold;
}

.number-btn:hover {
    background: #334155;
}

.number-btn.selected {
    background: #22c55e;
    color: #052e16;
    border-color: #86efac;
}

.selected-box {
    margin-top: 18px;
    padding: 12px;
    min-height: 70px;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 10px;
    line-height: 1.7;
}

.primary-btn,
.secondary-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 14px;
}

.primary-btn {
    background: #2563eb;
}

.primary-btn:hover {
    background: #1d4ed8;
}

.secondary-btn {
    background: #7c3aed;
}

.secondary-btn:hover {
    background: #6d28d9;
}

.card {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #334155;
    text-align: left;
    vertical-align: top;
}

th {
    color: #93c5fd;
    white-space: nowrap;
}

td {
    color: #e5e7eb;
}
.coupon-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 14px;
    background: #f97316;
}

.coupon-btn:hover {
    background: #ea580c;
}

.coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.coupon-card {
    background: #020617;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 16px;
}

.coupon-card.checked {
    border-color: #22c55e;
}

.coupon-card.pending {
    border-color: #f97316;
}

.coupon-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.coupon-head strong {
    display: block;
    color: #93c5fd;
    font-size: 16px;
}

.coupon-head span {
    display: block;
    color: #94a3b8;
    font-size: 13px;
    margin-top: 3px;
}

.match-badge {
    padding: 7px 10px;
    border-radius: 999px;
    background: #1e293b;
    color: #e5e7eb;
    font-weight: bold;
    white-space: nowrap;
}

.coupon-name {
    margin-top: 12px;
    color: #cbd5e1;
    font-size: 14px;
}

.coupon-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.coupon-numbers span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1e293b;
    border: 1px solid #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.coupon-meta {
    margin-top: 14px;
    color: #94a3b8;
    font-size: 13px;
}
.nav-links {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.nav-links a {
    display: block;
    text-decoration: none;
    color: #e5e7eb;
    background: #020617;
    border: 1px solid #334155;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
}

.nav-links a:hover {
    background: #1e293b;
}