
:root {
    --primary-color: #b71c1c;          
    --dark-bg: #0a0a0f;               
    --darker-bg: #060608;             
    --text-color: #ffffff;            
    --secondary-text: #9a9a9a;        
    --card-bg: #12121a;              
    --success-color: #4CAF50;         
    --danger-color: #a00000;          
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(183, 28, 28, 0.1); 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.page-title {
    font-size: 28px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: #cc0000;
    transform: translateY(-1px);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--text-color);
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--text-color);
}

.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 10px 16px;
    background-color: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--card-bg);
    margin-bottom: 2rem;
}

.logout-btn {
    background-color: var(--danger-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background-color: #b30000;
    transform: translateY(-1px);
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-text);
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 16px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 24px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #cc0000;
}

.tab-navigation {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1px;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--secondary-text);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

@media (max-width: 1024px) {
    .main-content {
        margin-left: 200px;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 20px;
    }

    .header {
        padding: 16px 20px;
    }

    .tab-navigation {
        flex-wrap: wrap;
    }

    .card {
        padding: 16px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

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

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: #1a1a24;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e60000;
}