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

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.page-header {
    margin-bottom: 1.25rem;
}

.page-header h1 {
    margin: 0 0 0.25rem;
    font-size: 2rem;
    color: #ffffff;
    background-image: url("collecToi_logo.png");
}

.page-header p {
    margin: 0;
    color: #9ca3af;
}

.access-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #2d2d2d;
    border-radius: 999px;
    background: #111111;
    width: fit-content;
}

.access-box label,
.admin-form label {
    color: #d1d5db;
    font-size: 0.95rem;
}

.access-box input {
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    padding: 0.45rem 0.8rem;
    outline: none;
}

.admin-form input {
    border: 1px solid #3f3f46;
    border-radius: 999px;
    background: #000000;
    color: #f3f4f6;
    padding: 0.45rem 0.8rem;
    outline: none;
}

.hidden-form {
    display: none;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.tile-wrapper {
    position: relative;
}

.tile {
    width: 100%;
    height: 140px;
    box-sizing: border-box;
    border: 1px solid #2f2f2f;
    border-radius: 16px;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    border-color: #5b5b5b;
}

.tile-empty {
    background: linear-gradient(135deg, #111111, #1f1f1f);
    color: #e5e7eb;
}

.tile-filled {
    background: linear-gradient(135deg, #1f2937, #0f172a);
    color: #f9fafb;
}

.tile-label {
    font-size: 0.8rem;
    opacity: 0.85;
}

.tile-placeholder {
    font-size: 0.95rem;
}

.reset-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: #b91c1c;
    color: white;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tile-wrapper:hover .reset-button {
    opacity: 1;
    transform: scale(1);
}

.admin-bar {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #2d2d2d;
    border-radius: 16px;
    background: #0f0f0f;
}

.admin-form {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.admin-form-inline {
    margin-left: auto;
}

.admin-button {
    border: none;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    background: #f59e0b;
    color: #111111;
    cursor: pointer;
    font-weight: 600;
}

.admin-button-secondary {
    background: #1f2937;
    color: #f9fafb;
}
