/* =================================== */
/* REQUEST LOGS STYLES */
/* =================================== */

.logs-container {
    background-color: rgb(var(--card));
    border-radius: 0.75rem;
    border: 1px solid rgb(var(--border));
    overflow: hidden;
}

.logs-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgb(var(--border));
    background-color: rgb(var(--muted) / 0.3);
}

.logs-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.logs-table-container {
    overflow-x: auto;
    max-height: 70vh;
}

.logs-table {
    width: 100%;
    margin-bottom: 0;
}

.logs-table th {
    position: sticky;
    top: 0;
    background-color: rgb(var(--muted));
    color: rgb(var(--foreground));
    font-weight: 600;
    padding: 0.75rem;
    border-bottom: 2px solid rgb(var(--border));
    white-space: nowrap;
}

.logs-table td {
    padding: 0.75rem;
    border-bottom: 1px solid rgb(var(--border) / 0.5);
    vertical-align: middle;
}

.logs-table tr:hover {
    background-color: rgb(var(--accent) / 0.5);
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.success {
    background-color: rgb(var(--success) / 0.1);
    color: rgb(var(--success-text));
}

.status-badge.error {
    background-color: rgb(var(--destructive) / 0.1);
    color: rgb(var(--destructive-text));
}

.status-badge.timeout {
    background-color: rgb(var(--warning) / 0.1);
    color: rgb(var(--warning-text));
}

.response-time {
    font-family: monospace;
    font-size: 0.9rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgb(var(--primary));
    color: rgb(var(--primary-foreground));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* =================================== */
/* RESPONSIVE STYLES */
/* =================================== */

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -230px;
        z-index: 1050;
        transition: left 0.3s ease;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
    
    .trello-board {
        flex-direction: column;
    }
    
    .trello-column {
        flex: none;
        max-height: 400px;
    }
    
    .execution-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .logs-filters {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}
