/* Schedule Page Specific Styles */

.subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* Week Calendar */
.week-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.day-column {
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    min-height: 400px;
}

.day-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 6px 6px 0 0;
    text-align: center;
}

.day-header h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.add-raid-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.add-raid-btn:hover {
    background-color: white;
    color: #667eea;
}

/* Raids Container */
.raids-container {
    padding: 10px;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

/* Raid Card */
.raid-card {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s;
}

.raid-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.raid-card.completed {
    border-color: #4CAF50;
    background-color: #f1f8f4;
}

.raid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.raid-time {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.raid-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: bold;
}

.raid-status.incomplete {
    background-color: #FFF3CD;
    color: #856404;
}

.raid-status.completed {
    background-color: #D4EDDA;
    color: #155724;
}

.raid-leader {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.raid-members {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.raid-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-edit {
    flex: 1;
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-edit:hover {
    background-color: #1976D2;
}

.btn-delete {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-delete:hover {
    background-color: #d32f2f;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

/* Max Raids Warning */
.max-raids-warning {
    background-color: #FFF3CD;
    color: #856404;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 12px;
    margin: 10px;
}

/* Responsive */
@media (max-width: 1400px) {
    .week-calendar {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .week-calendar {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .week-calendar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .week-calendar {
        grid-template-columns: 1fr;
    }
    
    .day-column {
        min-height: 300px;
    }
    
    .participant-item {
        font-size: 11px;
    }
    
    .participant-name {
        font-size: 11px;
    }
    
    .participant-job {
        font-size: 10px;
    }
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.raid-card {
    animation: slideIn 0.3s ease-out;
}

/* 레이드 카드 내 참가자 명단 스타일 */
.raid-participants {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.participants-header {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 600;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.participant-item {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
}

.participant-name {
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

.participant-job {
    color: #667eea;
    font-size: 11px;
    flex-shrink: 0;
}

.participants-empty {
    text-align: center;
    color: #999;
    font-size: 11px;
    padding: 8px;
    font-style: italic;
}

.participants-empty {
    text-align: center;
    color: #999;
    font-size: 11px;
    padding: 8px;
    font-style: italic;
}
