* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    background: #000000;
    color: #ffffff;
    overflow: hidden;
    min-height: 100vh;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 260px;
    background: #1a1a1a;
    border-right: 1px solid #333333;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.sidebar-header {
    padding: 35px 25px;
    border-bottom: 1px solid #333333;
    background: #0d0d0d;
}

.sidebar-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
    flex: 1;
}

.menu-item {
    padding: 16px 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.menu-item:hover {
    background: #2a2a2a;
    border-left-color: #0066ff;
}

.menu-item.active {
    background: #0066ff;
    border-left-color: #ffffff;
}

.menu-item .icon {
    font-size: 22px;
}

.menu-item .text {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #000000;
    position: relative;
    z-index: 1;
}

.top-header {
    padding: 20px 30px;
    background: #1a1a1a;
    border-bottom: 1px solid #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.current-time {
    font-size: 16px;
    color: #cccccc;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    font-size: 24px;
}

.user-name {
    font-size: 15px;
    color: #ffffff;
}

.content-area {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #0066ff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0052cc;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #0066ff;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0052cc;
}

.btn-success {
    background: #0066ff;
    color: #ffffff;
}

.btn-success:hover {
    background: #0052cc;
}

.btn-danger {
    background: #ff0000;
    color: #ffffff;
}

.btn-danger:hover {
    background: #cc0000;
}

.btn-cancel {
    background: #333333;
    color: #ffffff;
}

.btn-cancel:hover {
    background: #444444;
}

.btn-view {
    background: #0066ff;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 12px;
}

.btn-view:hover {
    background: #0052cc;
}

.btn-edit {
    background: #333333;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 12px;
}

.btn-edit:hover {
    background: #444444;
}

.card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    border: 1px solid #333333;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    color: #ff0000;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #333333;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #cccccc;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333333;
    border-radius: 4px;
    background: #0d0d0d;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066ff;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-pagination {
    padding: 10px 20px;
    background: #1a1a1a;
    border: 1px solid #333333;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pagination:hover:not(:disabled) {
    background: #0066ff;
    border-color: #0066ff;
}

.btn-pagination:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 14px;
    color: #cccccc;
}
