body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f2f4f8;
}

header {
    background: linear-gradient(90deg,#d32f2f,#f44336);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-btn {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.day-card {
    background: white;
    margin: 20px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.day-card.today {
    border: 2px solid #1976d2;
    background: #e3f2fd;
}

.today-label {
    color: #1976d2;
    font-weight: bold;
}

.slot-title {
    margin-top: 15px;
    font-weight: 600;
}

.spots {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
    gap: 12px;
    margin-top: 10px;
}

.spot {
    position: relative;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

.spot.free {
    background: #4caf50;
    color: white;
}

.spot.free input {
    width: 100%;
    max-width: 120px;
    margin-bottom: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 6px;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
}

.spot.free button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
}

.spot.booked {
    background: #e53935;
    color: white;
}

.spot.owner {
    background: #2e7d32;
}

.name {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    font-weight: normal;
}

.delete-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    background: white;
    color: red;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 13px;
    cursor: pointer;
}

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.login-box input {
    padding: 10px;
    margin: 10px 0;
    width: 100%;
}

.login-box button {
    padding: 10px;
    width: 100%;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 8px;
}

.error {
    color: red;
}