/* theme/basic/head.php */
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
    color: #333;
    line-height: 1.6;
}

#mainNav {
    height: 90px;
    background: #fff;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

#mainNav .navbar-brand {
    font-size: 1.6rem;
    color: #002b5c !important;
    font-weight: 800;
    letter-spacing: -0.5px;
}

#mainNav .navbar-brand img {
    display: block;
    height: 30px;
    width: auto;
}

#mainNav .navbar-nav .nav-link {
    font-size: 1.15rem;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 0 12px;
    position: relative;
    transition: color 0.3s;
}

#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link.active {
    color: #0d6efd !important;
}

#mainNav .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 0;
    animation: fadeIn 0.2s ease-out;
}

#mainNav .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

#mainNav .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    .layout-with-sidebar {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    .layout-sidebar {
        width: 260px;
        flex-shrink: 0;
        position: sticky;
        top: 110px;
        background: #fff;
        border: 1px solid #ebebeb;
        border-radius: 16px;
        padding: 25px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    }

    .layout-content {
        flex-grow: 1;
        width: calc(100% - 300px);
    }

    .mobile-filter-bar {
        display: none;
    }
}

@media (max-width: 991px) {
    .layout-sidebar {
        display: none;
    }

    .mobile-filter-bar {
        display: block;
        margin-bottom: 20px;
    }

    .layout-content {
        width: 100%;
    }
}

.badge-custom {
    font-weight: 600;
    padding: 0.4em 0.8em;
    border-radius: 6px;
}

.badge-visa {
    background-color: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-gadget-simple {
    display: none !important;
}

.skiptranslate iframe {
    display: none !important;
}

iframe.goog-te-banner-frame {
    display: none !important;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}

.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

@media (max-width: 991px) {
    .offcanvas.offcanvas-end {
        width: 100% !important;
        border-left: none !important;
    }
}

.navbar-toggler {
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

#mainNav .pc-user-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 30px;
}

#mainNav .pc-user-links a {
    color: #333;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

#mainNav .pc-user-links a:hover {
    color: #0d6efd;
}

#mainNav .pc-user-links .divider {
    color: #ddd;
    font-weight: normal;
}

.mobile-user-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 0 5px;
}

.mobile-btn-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border: 1px solid #d6e1ff;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef4ff, #e8eefc);
    color: #234a8a;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.mobile-btn-item:active {
    background: linear-gradient(135deg, #dfeaff, #d8e4ff);
}

/* theme/basic/tail.php */
.site-footer {
    border-top: 1px solid #e5e7eb;
    background: #fff;
    padding: 30px 0 24px;
}

.site-footer__layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.site-footer__left {
    min-width: 0;
}

.site-footer__info {
    color: #334155;
    text-align: left;
}

.site-footer__info p {
    margin: 0 0 4px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.site-footer__office {
    font-size: 1rem !important;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.site-footer__copy {
    margin-top: 10px !important;
    color: #64748b !important;
}

.site-footer__links {
    margin-top: 10px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #64748b;
}

.site-footer__links a {
    color: #64748b;
    text-decoration: none;
}

.site-footer__links a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.site-footer__copy strong {
    color: #0f172a;
    font-weight: 800;
}

.site-footer__divider {
    display: inline-block;
    width: 10px;
}

.site-footer__right {
    min-width: 220px;
    text-align: right;
}

.site-footer__select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #dbe5f1;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font-size: 0.92rem;
}

.site-footer__member-stats {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #dbe5f1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #475569;
    font-size: 0.86rem;
    line-height: 1.55;
}

.site-footer__member-stats div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.site-footer__member-stats div + div {
    margin-top: 4px;
}

.site-footer__member-stats strong {
    color: #0f172a;
    font-weight: 800;
}

body.modal-open {
    padding-right: 0 !important;
}

@media (max-width: 767px) {
    .site-footer {
        padding: 24px 0 20px;
    }

    .site-footer__layout,
    .site-footer__left {
        display: block;
    }

    .site-footer__info p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .site-footer__right {
        min-width: 0;
        margin-top: 16px;
        text-align: left;
    }

    .site-footer__select {
        height: 42px;
        font-size: 0.86rem;
    }
}
