
.mainTitle {
    text-align: center;
    padding: 5px 15px 0px 15px;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 10px;
}

.mainTitle h1 {
    font-size: 14px;
    color: #333333;
    margin-bottom: 10px;
}

.mainTitle p {
    font-size: 12px;
    color: #666666;
    line-height: 1.5;
}

* {
  font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
}

body {
    background-color: #f8f8f8;
}

.show {
    display: '';
}

.hide {
    display: none;
}

input:disabled,
input[disabled],
select:disabled,
select[disabled],
textarea:disabled,
textarea[disabled],
button:disabled,
button[disabled] {
  background-color: #f5f5f5; /* 옅은 회색 */
  color: #6b6b6b;            /* 약간 어두운 회색 텍스트 */
  border-color: #e0e0e0;     /* 연한 테두리 */
  cursor: not-allowed;
  opacity: 1;                /* 브라우저 기본 반투명화 덮어쓰기(원하면 조절) */
  box-shadow: none;
}

.contentsTop {
    display: flex;
    align-items: center;
    justify-content: center; /* Center content */
    padding: 0 15px;
    margin-top: 20px;
    position: relative; /* Needed for absolute positioning of children */
}

.contentsTop .univName2 {
    position: absolute;
    left: 15px; /* Adjust to align with the padding of .contentsTop */
    top: 64%;
    transform: translateY(-50%);
    /* Ensure it's visible and doesn't overlap other elements incorrectly if they also use z-index */
    z-index: 1;
}

.contentsTop h2 {
    position: relative; /* Change to relative */
    flex-grow: 0; /* Remove flex-grow */
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
}

#loginForm {
  display: none;
}

.mobile-footer {
    padding: 20px 15px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.mobile-footer__notice {
    margin-bottom: 20px;
    color: #888;
    text-align: left;
}

.mobile-footer__device-mode {
    margin-top: 20px;
    margin-bottom: 20px;
}

.mobile-footer__device-mode label {
    display: inline-block;
    margin: 0 10px;
    cursor: pointer;
}

.mobile-footer__device-mode input[type="radio"] {
    margin-right: 5px;
}

.mobile-footer__brand {
    margin-bottom: 10px;
    font-weight: bold;
}

#counterBox {
    margin-top: 10px;
    font-size: 12px;
    background-color: transparent;        /* 흰 글씨 유지 */
    color: #ffffff;
}

/* Mobile Header Styles */
.mobile-header {
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.mobile-header__nav {
    display: flex;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.mobile-header__nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.mobile-header__nav a {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 8px 12px;
    margin-right: 10px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    border-radius: 4px;
    white-space: nowrap;
}

.mobile-header__nav a:last-child {
    margin-right: 0;
}


.mobile-header__nav a.active {
    background-color: #2563eb;
    color: #fff;
    font-weight: bold;
}

.nickname-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 15px;
  gap: 10px;
}

.nickname-wrapper input[type="text"] {
  flex-grow: 1;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  max-width: 150px;
  text-align: center;
}

.nickname-wrapper button {
  padding: 8px 12px;
  background-color: #343a40;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.nickname-wrapper button:hover {
  background-color: #23272b;
}

/* Notice block styling */
.notice {
    background-color: #e7f3fe; /* Light blue background */
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #2196F3; /* Blue text */
    border-radius: 4px;
    border-left: 5px solid #2196F3; /* Added for notice-like appearance */
}

.circle-img1 {
  width: auto;
  height: 20px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.circle-img2 {
  width: auto;
  height: 80px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;

  /* 그라데이션 테두리 */
  border-image-slice: 1;
  border-width: 5px;
  border-image-source: linear-gradient(45deg, #ff6ec4, #7873f5);

  /* 그림자 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.notice-box {
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-top: 20px;
  line-height: 1.5;
  font-size: 14px;
}

.notice-box b {
  color: #333;
}

.notice-box a {
  color: #007bff;
  text-decoration: none;
}

.notice-box a:hover {
  text-decoration: underline;
}
