body {
	/*-webkit-tap-highlight-color: rgba(0, 0, 0, 0);*/
	font-family: 'Noto Sans KR', sans-serif;
	color: #333;
	line-height: 1.6;
}

.main-banner { background-color: #FFF8E1; }
.support-btn { transition: all 0.3s ease; }
.support-btn:hover { transform: translateY(-5px); }
.community-item { border-bottom: 1px solid #eaeaea; padding: 1rem 0; }
.community-item:last-child { border-bottom: none; }
.support-card { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; }
.support-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); }
.logo { height: 40px; }
.header { position: sticky; top: 0; z-index: 50; transition: all 0.3s ease; }
.header.scrolled { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.nav-link { position: relative; font-weight: 500; padding: 0.5rem 0; margin: 0 1rem; color: #4B5563; transition: all 0.3s ease; }
.nav-link:hover { color: #1D4ED8; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 0; background-color: #1D4ED8; transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #1D4ED8; }
.nav-link.active::after { width: 100%; background-color: #1D4ED8; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh; background-color: white; transition: right 0.3s ease; z-index: 100; box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1); overflow-y: auto; }
.mobile-menu.active { right: 0; }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 90; visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s ease; }
.overlay.active { visibility: visible; opacity: 1; }
.mobile-nav-link { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid #eaeaea; transition: background 0.3s ease; }
.mobile-nav-link:hover { background-color: #F3F4F6; }
.mobile-nav-link.active { color: #1D4ED8; background-color: #EFF6FF; border-left: 4px solid #1D4ED8; }
.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; min-width: 200px; background-color: white; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); border-radius: 0.5rem; z-index: 1; top: 100%; left: 0; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-item { display: block; padding: 0.75rem 1.5rem; color: #4B5563; transition: all 0.2s ease; }
.dropdown-item:hover { background-color: #F9FAFB; color: #1D4ED8; }
@media (max-width: 768px) {
	.dropdown-content { position: static; display: none; box-shadow: none; padding-left: 1.5rem; }
}
.logo-text { font-size: 1.8rem; font-weight: 700; color: #2b4570; text-align: center; margin: 1rem 0; }
.cursor_pointer { cursor: pointer; }
.img-responsive { max-width: 100%; height: auto; }
.hide { display : none; }
.only_pc{display:block;}
.only_mobile{display:none;}
@media all and (max-width:800px){
.only_mobile{display:block;}
.only_pc{display:none;}
}
.footer {
    background-color: #f3f4f6;
    padding: 1.5rem 0;
    width: 100%;
}
.footer-links a {
    color: #4b5563;
    font-size: 0.85rem;
    margin-right: 1rem;
    position: relative;
}
.footer-links a:after {
    content: "";
    height: 12px;
    width: 1px;
    background-color: #d1d5db;
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
}
.footer-links a:last-child:after {
    display: none;
}
.footer-company-info {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.75rem;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .footer-links {
        flex-wrap: wrap;
    }
    .footer-links a {
        margin-bottom: 0.5rem;
    }
}
.search-container {
    position: relative;
}
.search-input {
    border: 1px solid #D1D5DB;
    border-radius: 9999px;
    padding-left: 2.5rem;
    padding-right: 1rem;
    transition: all 0.3s ease;
}
.search-input:focus {
    border-color: #93C5FD;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
}
/*
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}
.modal-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    max-height: 80%;
    padding: 2rem;
    position: relative;
    overflow-y: auto;
}
    */
.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 1.25rem;
    color: #666;
}
.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    color: #3b5bdb;
}
.check-item {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}
.check-circle {
    width: 24px;
    height: 24px;
    background-color: #37b24d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    color: white;
    flex-shrink: 0;
}
.highlight {
    color: #3b5bdb;
    font-weight: 700;
}
.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}
.checkbox-container input {
    margin-right: 8px;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2b4570;
    text-align: center;
    margin: 1rem 0;
}
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 1.5rem;
    }
    .dropdown-content.show {
        display: block;
    }
    .dropdown-toggle {
        position: relative;
    }
    .dropdown-toggle::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 1.5rem;
        transition: transform 0.3s ease;
    }
    .dropdown-toggle.active::after {
        transform: rotate(180deg);
    }
    .footer-links {
        flex-wrap: wrap;
    }
    .footer-links a {
        margin-bottom: 0.5rem;
    }
    .community-item {
        padding: 0.75rem 0;
    }
    /*    .modal-container {
        max-width: 100%;
        max-height: 90%;
    }*/
}
.tab-menu {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}
.tab-menu button {
    background: none;
    border: none;
    outline: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.tab-menu button.active {
    color: #1d4ed8;
    border-bottom: 2px solid #1d4ed8;
    font-weight: bold;
}
.tab-menu button:hover:not(.active) {
    color: #2563eb;
    border-bottom: 2px solid #93c5fd;
}
.tab-content {
    display: none;
    padding-top: 1rem;
}
.tab-content.active {
    display: block;
}
.community-card {
    transition: all 0.3s ease;
}
.community-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.news-tag {
    background-color: #457b9d;
    color: white;
}
.noti-tag {
    background-color: #2a9d8f;
    color: white;
}
.pinned {
    border-left: 4px solid #e63946;
}
/* Pagination (admin 참고) */
.pagination {
  display: flex;
  justify-content: center;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #1ab394;
  border-color: #1ab394;
  color: #fff;
  z-index: 2;
}
.pagination > li > a,
.pagination > li > span {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #333;
  margin-left: -1px;
  padding: 6px 12px;
  position: relative;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.pagination > li > a:hover,
.pagination > li > span:hover {
  background-color: #f5f5f5;
  color: #1ab394;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}
.btn-primary {
    background-color: #1e88e5;
    color: white;
    transition: all 0.2s;
}
.btn-primary:hover {
    background-color: #1e88e5;
}
.btn-outline {
    background-color: white;
    color: #1e88e5;
    border: 1px solid #1e88e5;
}
.btn-outline:hover {
    background-color: white;
}
.content-inner-min {
    min-height: calc(100vh - 600px);
}
.history-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}
.history-item2 {
    display: flex;
    padding: 12px 0;
}
.history-year {
    width: 80px;
    font-weight: 500;
}
.history-month {
    width: 60px;
    text-align:center;
    margin-right: 20px;
}
.history-content {
    flex: 1;
}
.note-editor p {
    margin: 0;
}
.for-mobile {
    display: none;
    margin:0;
    
}
@media (max-width: 768px) {
    .for-mobile {
        display: block;
    }
}
.custom-checkbox {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	gap: 0.5rem;
}
.custom-checkbox i {
	margin-right: 0.25rem;
}
.z-9999 {
    z-index: 9999;
}
#pay-method-list .pay-method-option input[type="radio"]:checked + span {
    /* 이모지와 텍스트에만 적용 */
    color: #2563eb;
}
#pay-method-list .pay-method-option input[type="radio"]:checked ~ span.font-medium {
    color: #2563eb;
}
#pay-method-list .pay-method-option input[type="radio"]:checked ~ span.text-xl {
    color: #2563eb;
}
#pay-method-list .pay-method-option input[type="radio"]:checked ~ * {
    font-weight: bold;
}
#pay-method-list .pay-method-option input[type="radio"]:checked ~ * {
    /* 선택된 라벨 배경 강조 */
    background-color: #eff6ff;
}
#pay-method-list .pay-method-option.selected {
    background-color: #eff6ff;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 1.5px #2563eb;
}
/* datepicker 오늘 선택 시에도 선택된 스타일이 보이도록 */
#start_date + .ui-datepicker-trigger { display: none; }
.ui-datepicker td .ui-state-active {
    background: #2563eb !important;
    color: #fff !important;
    border-radius: 0.375rem !important;
}
