@charset "utf-8";

:root {
  --bg-color: #020617; 
  --card-bg: rgba(15, 23, 42, 0.6);
  --accent-blue: #38bdf8;
  --accent-purple: #818cf8;
  --text-main: #f1f5f9;
  --text-dim: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.08);
}

body { background: #020617 !important; }

#LIST {
    color: var(--text-main);
    font-family: 'Noto Sans KR', sans-serif;
    width: 100%;
}

@keyframes listFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.TopTitle { 
    background: #0c1224;
    padding: 40px 20px; 
    border-bottom: 1px solid #131a30; 
    margin-bottom: 20px; 
    animation: listFadeUp 0.8s ease forwards;
    text-align: center;
}
.TopTitle p { 
  font-family: 'Orbitron', sans-serif; font-size: 2.2rem; font-weight: 700; margin: 0;
  color: var(--accent-blue); letter-spacing: 4px;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}
.TopTitle span { font-size: 0.9rem; color: var(--text-dim); }

.Control-Bar { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  background: var(--card-bg); 
  border-radius: 3px;
  border: 2px solid #020617;
  border-top: 1px solid #131a30;
  backdrop-filter: blur(10px);
  margin: 0px 50px 0px 50px;
  padding: 12px 20px; 
  animation: listFadeUp 0.8s ease 0.2s forwards; opacity: 0;
}

.Control-Bar .Left { display:flex; gap:8px; }
.Control-Bar .Right { display:flex; gap:8px}
    
.Control-Bar button, .Control-Bar select {
  background: rgba(30, 41, 59, 0.8); 
  border: 1px solid var(--glass-border);
  color: var(--text-main); 
  padding: 8px 14px; 
  border-radius: 2px; 
  cursor: pointer;
  font-size: 0.85rem; 
  transition: 0.2s;
}
button:hover  { background: var(--accent-blue); color: #000; box-shadow: 0 0 10px var(--accent-blue); }
select:hover  { border: 1px solid var(--accent-blue); transition: 0.5s; }

.List-Table { width: 100%;  backdrop-filter: blur(5px); table-layout: fixed; padding:0 50px; }
    
.List-Header { background: rgba(56, 189, 248, 0.1); }
.List-Header th { padding: 15px 10px; color: var(--accent-blue); font-size: 0.85rem; font-weight: 500; }

.List-Table tr:not(.List-Header) { 
  opacity: 0;
  animation: listFadeUp 0.6s ease forwards;
  transition: 0.2s; 
  cursor: pointer; 
  background: rgba(255, 255, 255, 0.02); 
}
.List-Table tr:not(.List-Header):hover { background: rgba(56, 189, 248, 0.07); }
.List-Table td { padding: 10px 10px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 컬럼 폭 설정 */
.Num { width: 60px; color: var(--text-dim); font-family: 'Orbitron'; font-size: 0.8rem; }
.Run { width: 100px; }
.Subject { width: 200px; color: #00ff00; font-weight: 600; text-align: left !important; font-size: 0.95rem; padding-left: 40px !important; }
.CaName { width: 120px; color: var(--accent-blue); }
.Ca2 { width: 120px; color: var(--text-dim); }
.Ca3 { width: 120px; color: var(--text-dim); }
.Day { width: 90px; color: var(--text-dim); font-size: 0.8rem; }
    

/* 실행/중지 버튼 스타일 */
.run_btn {
  display: inline-block;
  padding: 5px 35px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  min-width: 60px;
  text-align: center;
}
.run_on {
  background: #22c55e; /* 밝은 녹색 */
  color: #fff;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}
.run_off {
  background: #7f1d1d; /* 다크 붉은색 */
  color: #f87171;
  border: 1px solid #991b1b;
}

.NoticeLayer { 
  display:none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 95%; max-width: 480px; background: rgba(15, 23, 42, 0.95); padding: 30px; border-radius: 20px; 
  border: 1px solid var(--accent-blue); z-index: 10001; box-shadow: 0 0 40px rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
}

section#SCH {
  display: none; position: fixed; top: 0; left: 0; 
  width: 100%; height: 100%; background: rgba(2, 6, 23, 0.85); 
  z-index: 9999; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
}

.Pagination { text-align: center; padding: 40px 0; animation: listFadeUp 1s ease 0.5s forwards; opacity: 0; }
.Pagination a, .Pagination b {
  display: inline-block; padding: 7px 14px; margin: 0 3px;
  border-radius: 6px; border: 1px solid var(--glass-border); color: var(--text-dim); text-decoration: none; font-size: 0.9rem;
}
.Pagination b { background: var(--accent-blue); color: #000; border-color: var(--accent-blue); }