/* dj-schedule.css — DJ schedule management styles */

/* --- Claim Form --- */
.claim-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.claim-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.claim-field {
    flex: 1;
    min-width: 120px;
}

.claim-field-wide {
    flex: 2;
    min-width: 200px;
}

.btn-claim {
    color: #00ff80;
    border-color: rgba(0, 255, 128, 0.4);
    background: rgba(0, 255, 128, 0.1);
    padding: 0.6rem 1rem;
}

.btn-claim:hover {
    background: rgba(0, 255, 128, 0.2);
}

/* --- Schedule List --- */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 4px;
}

.schedule-item.my-slot {
    border-color: rgba(251, 70, 228, 0.3);
}

.schedule-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.schedule-day {
    font-family: 'Russo One', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    min-width: 100px;
}

.schedule-time {
    font-family: 'Exo 2', monospace;
    font-size: 0.8rem;
    color: var(--color-accent);
}

.schedule-show {
    font-family: 'Exo 2', monospace;
    font-size: 0.75rem;
    color: var(--color-muted);
    padding: 0.15rem 0.4rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.btn-cancel {
    color: #ff4646;
    border-color: rgba(255, 70, 70, 0.3);
}

.btn-cancel:hover {
    background: rgba(255, 70, 70, 0.15);
}

.btn-skip {
    color: #ffbb00;
    border-color: rgba(255, 187, 0, 0.35);
}

.btn-skip:hover {
    background: rgba(255, 187, 0, 0.12);
}

/* --- Week Grid --- */
.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.day-column {
    display: flex;
    flex-direction: column;
}

.day-header {
    font-family: 'Russo One', sans-serif;
    font-size: 0.75rem;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-align: center;
    padding: 0.5rem;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-bottom: none;
}

.day-slots {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.1);
    min-height: 100px;
}

.slot-empty {
    font-family: 'Exo 2', monospace;
    font-size: 0.7rem;
    color: var(--color-muted);
    text-align: center;
    padding: 0.5rem;
}

.slot-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.35rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    border-left: 2px solid rgba(0, 255, 255, 0.3);
}

.slot-item.slot-mine {
    border-left-color: var(--color-primary);
    background: rgba(251, 70, 228, 0.1);
}

.slot-time {
    font-family: 'Exo 2', monospace;
    font-size: 0.65rem;
    color: var(--color-accent);
}

.slot-dj {
    font-family: 'Exo 2', monospace;
    font-size: 0.7rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Calendar Week View --- */
.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cal-nav-arrow {
    color: var(--color-accent);
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: transparent;
    padding: 0.3rem 0.75rem;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    letter-spacing: 1px;
    transition: all 0.2s;
    border-radius: 2px;
}

.cal-nav-arrow:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--color-accent);
    text-decoration: none;
    border-color: var(--color-accent);
}

.cal-nav-label {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    color: #fff;
    letter-spacing: 0.05em;
    text-align: center;
}

.cal-grid {
    display: grid;
    grid-template-columns: 2.5rem repeat(7, 1fr);
    grid-template-rows: auto repeat(24, minmax(1.6rem, auto));
    border: 1px solid rgba(0, 255, 255, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.cal-corner {
    background: rgba(0, 255, 255, 0.04);
    border-right: 1px solid rgba(0, 255, 255, 0.12);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.cal-day-header {
    padding: 0.4rem 0.25rem;
    text-align: center;
    background: rgba(0, 255, 255, 0.04);
    border-right: 1px solid rgba(0, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    line-height: 1.4;
}

.cal-day-header.cal-today {
    background: rgba(0, 255, 255, 0.1);
    border-bottom-color: var(--color-accent);
}

.cal-day-name {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.cal-today .cal-day-name {
    color: #fff;
}

.cal-day-date {
    display: block;
    font-family: 'Exo 2', monospace;
    font-size: 0.72rem;
    color: #ddd;
}

.cal-time-label {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: var(--color-muted);
    text-align: right;
    padding: 0.25rem 0.35rem 0;
    border-right: 1px solid rgba(0, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.cal-cell {
    border-right: 1px solid rgba(0, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.cal-cell.cal-today-col {
    background: rgba(0, 255, 255, 0.02);
}

.cal-slot {
    padding: 0.15rem 0.3rem;
    border-left: 2px solid rgba(0, 255, 255, 0.4);
    background: rgba(0, 255, 255, 0.07);
    border-radius: 1px;
    z-index: 2;
    overflow: hidden;
    margin: 1px;
    align-self: stretch;
}

.cal-slot.cal-slot-mine {
    border-left-color: var(--color-primary);
    background: rgba(251, 70, 228, 0.1);
}

.cal-slot-time {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.58rem;
    color: var(--color-accent);
}

.cal-slot-mine .cal-slot-time {
    color: var(--color-primary);
}

.cal-slot-dj {
    display: block;
    font-family: 'Exo 2', monospace;
    font-size: 0.65rem;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-slot-show {
    display: block;
    font-family: 'Exo 2', monospace;
    font-size: 0.58rem;
    color: var(--color-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .week-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .claim-row {
        flex-direction: column;
    }

    .claim-field,
    .claim-field-wide {
        width: 100%;
    }

    .week-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-item {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .week-grid {
        grid-template-columns: 1fr;
    }
}
