:root {
    --sidebar-width: 280px;
    --top-height: 60px;
    --footer-height: 40px;
}

* {
    font-family: 'IBM Plex Sans KR', sans-serif;
    font-size: 12px;
}

a {
    transition: all 0.2s;
}

body {
    background-color: #ffffff;
}

/* Top Area 스타일 */
#topArea {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: var(--top-height);
    z-index: 1;
    padding-left: var(--sidebar-width);
    transition: padding-left 0.3s ease;
}

body.sidebar-hidden #topArea {
    padding-left: 0;
}

#topArea .navbar-toggler {
    box-shadow: none;
}

#topArea #sidebar-toggle {
    text-decoration: none;
    border: none;
    background: none;
    transition: all 0.2s;
    position: relative;
}

#topArea #sidebar-toggle:hover {
    opacity: 0.7;
}

#topArea .user-dropdown-toggle {
    padding: 0.5rem 1rem;
}

#topArea .user-avatar {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

#topArea .user-dropdown-menu {
    margin-top: 0.5rem;
    min-width: 180px;
}

/* Aside Area 스타일 */
#asideArea {
    width: var(--sidebar-width);
    padding-bottom: var(--footer-height);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 2;
    transition: transform 0.3s ease;
}

body.sidebar-hidden #asideArea {
    transform: translateX(-100%);
}

#asideArea #logoArea {
    width: 100%;
    height: 60px;
}

/* 토글 메뉴 스타일 */
#asideArea .menu-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

#asideArea .menu-arrow {
    transition: transform 0.2s;
}

#asideArea .submenu {
    margin-top: 0.25rem;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

#asideArea .submenu .nav-link {
    padding-left: 2.5rem !important;
    
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

/* Layout 스타일 */
.main-wrapper {
    margin-top: var(--top-height);
    margin-bottom: var(--footer-height);
}

.main-content {
    padding: 30px;
    padding-left: calc(var(--sidebar-width) + 30px);
    transition: padding-left 0.3s ease;
}

body.sidebar-hidden .main-content {
    padding-left: 30px;
}

/* Footer Area 스타일 */
#footerArea {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    height: var(--footer-height);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    transition: padding-left 0.3s ease;
    z-index: 3;
}

body.sidebar-hidden #footerArea {
    padding-left: 0;
}

#footerArea .container-fluid {
    height: 100%;
}

/* Login Page 스타일 */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 2rem;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

.login-input {
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 0.875rem 1rem;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #000000;
}

.login-input:focus {
    border-color: #000000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.08);
    outline: none;
}

.login-input::placeholder {
    color: #adb5bd;
}

.login-btn {
    border: none;
    border-radius: 6px;
    padding: 0.875rem 1.5rem;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;    
}

#error-message {
    border-radius: 6px;
    border: 1px solid #d0d0d0;
    background-color: #f5f5f5;
    color: #000000;
    padding: 0.875rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 14px;
}

.form-label {
    font-size: 14px;
    color: #212529;
    font-weight: 500;
}