/* devsysCore 관리자 공통 스타일 */
body.dds-body {
    background: #f3f5f9;
    min-height: 100vh;
}

.dds-topbar {
    background: #0f1e33;
    color: #fff;
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.dds-topbar .brand {
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: .3px;
}

.dds-topbar .brand small {
    font-weight: 400;
    color: #9ca3af;
}

.dds-wrap {
    display: flex;
    min-height: calc(100vh - 52px);
}

.dds-sidebar {
    width: 230px;
    flex: 0 0 230px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    padding: 1rem .75rem;
}

.dds-menu-title {
    font-size: .78rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    padding: .5rem .5rem .25rem;
}

.dds-sidebar .nav-link {
    color: #374151;
    padding: .4rem .75rem;
    border-radius: .375rem;
    font-size: .92rem;
}

.dds-sidebar .nav-link:hover {
    background: #f3f4f6;
}

.dds-sidebar .nav-link.active {
    background: #1a56b0;
    color: #fff;
}

.dds-main {
    flex: 1 1 auto;
    padding: 1.25rem 1.5rem;
    min-width: 0;
}

.dds-page-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.dds-toolbar {
    display: flex;
    gap: .4rem;
    justify-content: flex-end;
    margin-bottom: .5rem;
}

.dds-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1rem;
}

.dds-login-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #0f3460, #533483);
}

.dds-login-card {
    width: 380px;
    max-width: 92vw;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}

/* 아이디·비밀번호 IME 차단 (Firefox 한정 지원 — 크롬은 login.html 스크립트가 보강) */
.dds-ime-off {
    ime-mode: disabled;
}

.dds-login-brand i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #0f3460, #533483);
    box-shadow: 0 6px 16px rgba(83, 52, 131, .3);
}

.dds-pager {
    display: flex;
    gap: .35rem;
    align-items: center;
    justify-content: center;
    margin-top: .75rem;
}

#dds-toast {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 2000;
}
