body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.sidebar {
    width: 240px;
    min-height: 100vh;
    background: linear-gradient(180deg, #1a73e8 0%, #1557b0 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header .brand {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
}

.sidebar-header .brand:hover {
    color: #e0e0e0;
}

.sidebar-store {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-store i {
    font-size: 18px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    flex: 1;
}

.sidebar-nav li {
    margin: 2px 8px;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 500;
}

.sidebar .nav-link i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    padding: 16px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-footer .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.main-content {
    margin-left: 240px;
    padding: 24px 32px;
    width: calc(100% - 240px);
    min-height: 100vh;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.login-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 100vh !important;
    padding: 20px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    flex-direction: column !important;
}

.login-wrapper {
    width: 400px !important;
    min-width: 400px !important;
    max-width: 400px !important;
    flex-shrink: 0 !important;
    margin: 0 auto !important;
}

.login-brand {
    text-align: center !important;
    font-size: 28px !important;
    font-weight: bold !important;
    color: #fff !important;
    margin-bottom: 24px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.login-card {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
}

.login-title {
    text-align: center !important;
    margin-bottom: 30px !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #333 !important;
    width: 100% !important;
    display: block !important;
}

.login-card .form-group {
    margin-bottom: 20px !important;
    width: 100% !important;
    display: block !important;
}

.login-card .form-label {
    display: block !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    color: #555 !important;
    width: 100% !important;
}

.login-card .form-control {
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    display: block !important;
}

.login-card .form-control:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
}

.btn-login {
    width: 100% !important;
    padding: 12px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    transition: opacity 0.2s !important;
    box-sizing: border-box !important;
    display: block !important;
}

.btn-login:hover {
    opacity: 0.9 !important;
}
