﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}

body {
    background-color: #ffffff;
    font-family: 'NanumSquare', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    font-weight: bold;
}

.form-control {
    border-radius: 0.5rem;
}

.logo {
    height: 40px;
    margin-bottom: 5px;
}

.btn-yellow {
    background-color: #fcd500;
    color: #000;
    border: none;
}

.btn-yellow:hover {
    background-color: #e6be00;
}

.navbar-pastel {
    background-color: #e3f2fd; /* 연한 하늘색 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-pastel .nav-link {
    color: #0d6efd !important; /* 부드러운 파란색 */
    font-weight: 500;
}

.navbar-pastel .nav-link:hover {
    color: #084298 !important;
    text-decoration: underline;
}

.navbar-pastel .navbar-brand {
    font-weight: bold;
    color: #1976d2 !important;
}

.navbar-toggler {
    border-color: rgba(0,0,0,0.1);
}

.nav-link.active {
    font-weight: bold;
    color: #0d6efd !important;
    border-bottom: 2px solid #0d6efd;
}

.btn-check + .btn-outline-warning {
    border-color: #ccc; /* 회색 테두리 */
    color: #000; /* 검정 글씨 */
}

.btn-check:checked + .btn-outline-warning {
    background-color: #ffc107; /* 노란 배경 */
    border-color: #ffc107; /* 노란 테두리 */
    color: #000; /* 검정 글씨 */
}

.splitter-toolbar {
    position: sticky; /* 상단에 붙어서 스크롤 시 따라옴 */
    top: 0;
    z-index: 1500; /* Splitter/팝업 위로 필요 시 조정 */
    background: var(--bs-body-bg, #fff);
    padding: .5rem .75rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
}


/* Devexpress Control Style */
.dxgvHeader, .dxgvDataRow {
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
}

.btn:hover {
    color: black;
}

/* 툴바 아이템 텍스트를 세로 중앙 정렬 */
.dxm-main .dxm-item .dxm-content {
    display: flex !important;
    align-items: center; /* 세로 중앙 */
    height: 100%;
}
/* Devexpress Control Style */


/* 모바일 전용 메뉴 글자 확대 */
@media (max-width: 768px) { /* 부트스트랩 기본 모바일 기준 */
    #navbarNav .nav-link {
        font-size: 1.1rem; /* 기본 1rem → 1.1~1.2rem로 확대 (16px→18~19px 정도) */
        font-weight: 600; /* 글자 두께를 약간 굵게 */
    }

    #navbarNav .dropdown-menu .dropdown-item {
        font-size: 1.1rem;
        font-weight: 600;
    }
}

/* ASPxPopupControl 닫기 버튼 크기 확장 */
.dxpLite .dxpc-closeBtn,
.dxpLime .dxpc-closeBtn,
.dxpOffice365 .dxpc-closeBtn { /* 사용중인 테마명(dxpLite, dxpOffice365 등)에 맞게 */
    width: 28px !important; /* 기본 약 16~18px → 확대 */
    height: 28px !important;
    font-size: 22px !important; /* X 아이콘 크기 */
    line-height: 28px !important;
}

/* 호버 시 동일하게 */
.dxpLite .dxpc-closeBtnHover,
.dxpLime .dxpc-closeBtnHover,
.dxpOffice365 .dxpc-closeBtnHover {
    width: 28px !important;
    height: 28px !important;
    font-size: 22px !important;
    line-height: 28px !important;
}

.dxflCaption_Office365,
.dxeEditArea_Office365 {
    font-size: 18px !important; /* 원하는 크기로 변경: 18~20px 권장 */
}

.popup-headerbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.popup-title {
    font-size: 18px;
    font-weight: 700;
}

.popup-close-text {
    background: none;
    border: 0;
    padding: 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #f00;
    cursor: pointer;
}


.dday-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px; /* 필요시 조정 */
    height: 34px; /* 스크린샷 느낌 */
    padding: 0 .75rem;
    border: 1px solid #333;
    border-radius: .25rem;
    background: #fff;
    font-weight: 700;
    color: #000;
    line-height: 1;
}
