* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    padding: 20px;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    background: #1c1c1e;
    border-radius: 8px;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #fff;
}

.clickable-title {
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.clickable-title:hover {
    color: #007AFF;
}


.copy-feedback {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #007AFF;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 16px;
    background: #2c2c2e;
    color: #fff;
}

.btn {
    width: 100%;
    padding: 12px;
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.btn:hover {
    background: #0056CC;
}

.time-slot {
    border: 1px solid #444;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    background: #2c2c2e;
}

.time-slot:hover {
    background: #3a3a3c;
}

.time-slot.has-game {
    background: #1a2332;
    border-color: #007AFF;
}

.time {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.game-info {
    color: #aaa;
    font-size: 14px;
}

.empty {
    color: #666;
    font-style: italic;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 20px 0;
}

.nav-btn {
    background: none;
    border: 1px solid #444;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
}

.nav-btn:hover {
    background: #3a3a3c;
}

.nav-btn:disabled {
    color: #666;
    cursor: not-allowed;
}

.date-display {
    font-weight: 500;
    color: #aaa;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #1c1c1e;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 350px;
}

.modal h2 {
    margin-bottom: 20px;
    text-align: center;
}

.close-btn {
    background: #666;
    margin-top: 10px;
}

.close-btn:hover {
    background: #555;
}

.hidden {
    display: none;
}

.room-created {
    text-align: center;
    padding: 20px;
    background: #2c2c2e;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #444;
}

.share-link {
    background: #2c2c2e;
    padding: 12px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
    margin: 10px 0;
    color: #007AFF;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.share-link:hover {
    background: #3a3a3c;
}