/* Suvestinės Sections Styling */

.suvestines-header {
    margin-bottom: 2rem;
}

.suvestines-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary, #e0e0e0);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.suvestines-header h2 i {
    color: var(--primary-color, #4a9eff);
}

.suvestines-header p {
    color: var(--text-secondary, #a0a0a0);
    font-size: 0.95rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-background, rgba(30, 30, 30, 0.6));
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color, #4a9eff);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

.stat-card.white-theme {
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.stat-card.white-theme .stat-label {
    color: #6c757d;
    font-weight: 600;
}

.stat-card.white-theme .stat-value {
    color: #212529;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color, #4a9eff) 0%, var(--primary-dark, #3a7ecf) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.75rem;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary, #a0a0a0);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary, #e0e0e0);
}

.content-placeholder {
    background: var(--card-background, rgba(30, 30, 30, 0.6));
    border: 2px dashed var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin-top: 2rem;
}

.content-placeholder i {
    font-size: 3rem;
    color: var(--text-secondary, #a0a0a0);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.content-placeholder p {
    color: var(--text-secondary, #a0a0a0);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Submenu styling */
/* Submenu styling */
.menu-item.has-submenu {
    position: relative;
}

.menu-item.has-submenu>a {
    position: relative;
}

.menu-item.has-submenu>a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease;
}

.menu-item.has-submenu.expanded>a::after {
    transform: rotate(180deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #ffffff;
}

.menu-item.has-submenu.expanded .submenu {
    max-height: 500px;
}

.submenu-item {
    margin: 0.1rem 0;
    /* Match .menu-item margin */
}

.submenu-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem 0.6rem 2.2rem;
    /* Indented for submenu */
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
}

.submenu-item a:hover {
    background: #f8f9fa;
    color: #495057;
    border-left-color: #007bff;
}

.submenu-item.active a {
    background: #e9ecef;
    font-weight: 600;
    color: #2c3e50;
    border-left-color: #007bff;
}


.submenu-item a i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}


/* KV Data Table Styles - enhanced standard table */
/* Specific alignments for KV table within standard data-table */
.data-table .object-name {
    text-align: left;
    font-weight: 600;
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
    /* Add any specific dark mode overrides if standard table needs them */
}

/* Dark Mode Overrides (if applicable, based on var usage) */
@media (prefers-color-scheme: dark) {
    /* Assuming vars handle most, but hardcoded bg colors need update */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-icon i {
        font-size: 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .content-placeholder {
        padding: 2rem 1rem;
    }
}

/* Standard Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
    text-decoration: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: #1e7ee7;
    /* Match login-btn color */
    color: white;
}

.btn-primary:hover {
    background: #1a6cc7;
    box-shadow: 0 2px 4px rgba(30, 126, 231, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

/* Responsive Table Scroll */
@media (max-width: 992px) {
    .table-container.scrollable {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 1rem;
        border: 1px solid #e9ecef;
        border-radius: 8px;
    }

    .table-container.scrollable .data-table {
        min-width: 800px;
        /* Force scroll on smaller screens */
        margin-bottom: 0;
    }

    .table-container.scrollable .data-table th,
    .table-container.scrollable .data-table td {
        white-space: nowrap;
    }
}

/* Custom Select Styles */
/* Custom Select Styles moved to styles.css */