@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* 브랜드 컬러 시스템 */
    --primary-color: #4361ee;
    --primary-light: #4895ef;
    --secondary-color: #f72585;
    --accent-color: #4cc9f0;
    --dark-color: #1e1e2d;
    --light-color: #ffffff;
    --bg-color: #f4f7fe;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.85);
    
    /* 운행 상태 컬러 */
    --status-ready: #6c757d;
    --status-active: #4cc9f0;
    --status-completed: #2ec4b6;
    --status-warning: #ff9f1c;
    --status-danger: #e71d36;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- 공통 레이아웃 --- */
.app-container {
    padding-bottom: 80px; /* 하단 메뉴 공간 */
}

.section-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 25px 20px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title span {
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
    display: inline-block;
}

/* --- 프리미엄 카드 스타일 --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--card-shadow);
    margin: 15px;
    padding: 20px;
    transition: transform 0.3s ease;
}



/* --- 대시보드 위젯 --- */
.widget-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 15px;
}

.widget-item {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.widget-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
}

.widget-value {
    font-weight: 700;
    font-size: 1.8rem;
    display: block;
}

.widget-label {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- 모바일 하단 네비게이션 --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.nav-item {
    text-decoration: none;
    color: #adb5bd;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-item i {
    font-size: 1.4rem;
}

.nav-item.active {
    color: var(--primary-color);
}

/* --- 버튼 스타일 --- */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 15px;
    padding: 12px 25px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

/* --- 차량 리스트 전용 --- */
.bus-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.bus-list-item:last-child {
    border-bottom: none;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
}

.badge-custom {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- 클릭 가능한 요소 마우스 커서 스타일 --- */
.time-hour-select, 
.time-minute-input,
select.form-select,
input[type="date"],
input[type="time"],
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
button,
.btn,
.form-check,
.form-check-input,
.form-check-label,
.day-toggle,
.btn-check + label,
[role="switch"],
.btn-change-status,
[onclick],
.nav-item,
.dropdown-toggle {
    cursor: pointer !important;
}
