/*
  스타일 파일 이름: 예시로 'login-style.css'
  HTML 파일에서 <link rel="stylesheet" href="login-style.css"> 로 연결
*/

:root{
  /* 배경 이미지 경로를 여기에 넣으세요 (또는 body에 직접 inline background) */
  --bg-image: url("../images/main_background_1.jpg");
  --panel-width: 500px;
  --accent: #0b4aa6; /* 파란 버튼 색상 */
  --panel-bg: rgba(255,255,255,0.65);
  --glass-border: rgba(13,110,253,0.08);
  --muted: #6b7280;
  --radius: 10px;
}

/* Noto Sans KR 폰트는 HTML 파일에서 <link> 태그로 로드해야 합니다. */
/* 예: <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;700;900&display=swap" rel="stylesheet"> */

*{box-sizing:border-box}
html,body{height:100%}
#main_body{
  margin:0;
  /* 폰트 설정은 Noto Sans KR이 로드된 후 적용됩니다. */
  font-family: "Noto Sans KR", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(rgba(10,10,10,0.25), rgba(10,10,10,0.25)), var(--bg-image) center/cover no-repeat fixed;
  display:flex;
  align-items:center;
  justify-content:center;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding: 30px;
}

/* 중앙 패널 */
#panel{
  height: 100vh;
  width: var(--panel-width);
  max-width: calc(100% - 40px);
  background: var(--panel-bg);
  /* border-radius: 14px; */
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border: 1px solid var(--glass-border);
  padding: 28px;
  padding-top: 60px;
  position: relative;
  backdrop-filter: blur(6px) saturate(110%);
}

.logo{
  display:flex;
  flex-direction: column;
  align-items:center;
  gap:12px;
  margin-bottom: 6px;
}
.logo img{
	height:44px; 
	width:auto;
}
.site-title{
	font-family: 'Malgun Gothic', sans-serif;
  font-weight:800;
  color:#0b4aa6;
  font-size:20px;
  letter-spacing:-0.4px;
    text-align:center;
}

.subtitle{
	font-family: 'Malgun Gothic', sans-serif;
  margin-top:6px;
  font-size:14px;
  color:#111827;
  font-weight:700;
  text-align:center;
}

.welcome{
  margin-top:6px;
  font-size:13px;
  color:var(--muted);
  text-align:center;
  line-height:1.4;
}

/* 공지 버튼 */
.notice-btn{
  display:inline-block;
  background:var(--accent);
  color:white;
  padding:8px 14px;
  border-radius:8px 8px 0 0;
  font-weight:700;
  margin-top:14px;
  text-align:center;
  cursor:pointer;
  box-shadow: 0 3px 0 rgba(0,0,0,0.06);
  border: none;
}

hr.div{
  border: none;
  height:10px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.07), transparent);
  margin: 12px 0 18px;
}

form.login{
  display:grid;
  gap:10px;
  margin-top: 17px;
}
label.field{
  font-size:13px;
  color:#1f2937;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.login input[type="text"], input[type="password"]{
  padding:10px 12px;
  border-radius:6px;
  border:1px solid #0b4aa6;
  font-size:14px;
  outline:none;
  background:white;
  flex:1;
  min-width:0;
}
.row{
  display:flex;
  gap:10px;
  margin-top: 5px;
  align-items:center;
}
.btn-login{
  background:var(--accent);
  color:white;
  padding:10px 14px;
  border-radius:8px;
  border:none;
  width:84px;
  cursor:pointer;
  font-weight:700;
  height:100%;
  margin-left: 8px;
}
.btn-outline{
  background-color: white;
  border:1px solid #cbd5e1;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  font-weight:700;
  color : black;
}

.options{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:13px;
  color:var(--muted);
}

/* 아이콘 버튼들 (하단) */
.icon-row{
  display:flex;
  gap:10px;
  margin-top:24px;
  justify-content:space-between;
}
.icon-card{
  flex:1;
  background:transparent;
  border-radius:8px;
  border:1px solid black;
  padding:8px;
  text-align:center;
  font-size:11px;
  color:var(--muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background : rgba(255,255,255,0.7);
}
.icon-card svg{display:block; margin:0 auto 6px; width:34px; height:34px}

.card-text{
	font-family: 'Malgun Gothic', sans-serif;
}

.notice-list{
	border-top: 1px solid #0b4aa6;
	border-bottom: 1px solid #0b4aa6;
	padding-top : 10px;
	padding-bottom : 7px;
}

.notice-block{
  margin-top:20px;
  font-size:12px;
  color:#374151;
  background:rgba(255,255,255,0.6);
  padding:8px 10px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.04);
}

.footer{
  margin-top:20px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  color:var(--muted);
}

.contact{
  display:flex;
  gap:10px;
  align-items:center;
}

.image-row {
  display: flex;           /* 가로 정렬 */
  justify-content: flex-end; /* 오른쪽 끝으로 정렬 */
  gap: 10px;               /* 이미지 사이 간격 */
  width: 100%;             /* 부모 전체 폭 사용 */
  margin-top: 20px;
}
.user-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #f0f9ff, #e0f2fe);
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-family: 'Malgun Gothic', sans-serif;
  margin-top: 17px;
}

.user-status-msg {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #1e3a8a; /* 네이비 계열 */
}

.user-status-actions {
  display: flex;
  gap: 10px;
}

.user-status-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.user-status-btn.edit {
  background: #3b82f6;
  color: #fff;
}

.user-status-btn.edit:hover {
  background: #2563eb;
}

.user-status-btn.logout {
  background: #f43f5e;
  color: #fff;
}

.user-status-btn.logout:hover {
  background: #dc2626;
}




/* 반응형 */
@media (max-width:560px){
  .panel{padding:18px}
  .logo img{height:36px}
  .site-title{font-size:18px}
}