/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

/* Login Page - ATUALIZADO PARA PALETA DA LOJA */
.login-page {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffd700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.login-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.login-card:hover {
    border-color: #ffd700;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo h1 {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-header .logo span {
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

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

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #343a40;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.login-form input:focus {
    outline: none;
    border-color: #ffd700;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

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

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
}

/* Admin Layout */
.admin-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e5e7eb;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-header h2 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.sidebar-header span {
    color: #64748b;
    font-size: 0.9rem;
}

.sidebar-nav ul {
    list-style: none;
    padding: 16px 0;
}

.sidebar-nav li {
    margin-bottom: 4px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background-color: #f8fafc;
    color: #1e293b;
}

.sidebar-nav li.active a {
    background-color: #f1f5f9;
    color: #667eea;
    border-left-color: #667eea;
    font-weight: 500;
}

.sidebar-nav i {
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.logout-link {
    color: #64748b;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 0;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.logout-link:hover {
    color: #dc2626;
    background: #fef2f2;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    background-color: #f8fafc;
}

/* Header */
.admin-header {
    background: white;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    color: #1e293b;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.header-left p {
    color: #64748b;
    font-size: 0.9rem;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.admin-info {
    display: flex;
    flex-direction: column;
}

.admin-name {
    font-weight: 500;
    color: #1e293b;
}

.logout-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
}

.logout-link:hover {
    color: #dc2626;
}

/* Dashboard Content */
.dashboard-content {
    padding: 32px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.warning {
    background-color: #f59e0b;
}

.stat-icon.success {
    background-color: #10b981;
}

.stat-icon.primary {
    background-color: #3b82f6;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.stat-info p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Quick Actions */
.quick-actions {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.quick-actions h2 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
}

.action-card:hover {
    border-color: #667eea;
    background-color: #f8fafc;
    transform: translateY(-2px);
}

.action-card i {
    font-size: 2rem;
    color: #667eea;
}

.action-card span {
    font-weight: 500;
    text-align: center;
}

/* Recent Section */
.recent-section {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background-color: #f8fafc;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background-color: #f8fafc;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-info img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.product-name {
    font-weight: 500;
    color: #1e293b;
    display: block;
}

.product-desc {
    font-size: 0.85rem;
    color: #64748b;
}

.stock {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.stock.ok {
    background-color: #f0fdf4;
    color: #16a34a;
}

.stock.low {
    background-color: #fef3c7;
    color: #d97706;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status.ativo {
    background-color: #f0fdf4;
    color: #16a34a;
}

.status.inativo {
    background-color: #fef2f2;
    color: #dc2626;
}

.status.warning {
    background-color: #fef3c7;
    color: #d97706;
}

.table-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background-color: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-icon:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.btn-icon.delete:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

/* Form Styles */
.form-container {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.form-header {
    margin-bottom: 24px;
}

.form-header h2 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.admin-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* Table Filters */
.table-header {
    background: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
}

.table-filters {
    display: flex;
    gap: 16px;
    align-items: center;
}

.search-input,
.filter-select {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

.search-input {
    min-width: 250px;
}

/* Content Area */
.content-area {
    padding: 0 32px 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .table-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        min-width: auto;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

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

.modal-content {
    background-color: white;
    margin: auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-large {
    max-width: 800px;
}

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

.modal-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #f1f5f9;
    color: #374151;
}

.modal-body {
    padding: 24px;
}

.modal-form {
    padding: 24px;
}

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

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.modal-form small {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.modal-actions {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-actions .btn {
    min-width: 100px;
}

/* Status badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.ativo {
    background-color: #f0fdf4;
    color: #16a34a;
}

.status-badge.inativo {
    background-color: #fef2f2;
    color: #dc2626;
}

.status-badge.pendente {
    background-color: #fef3c7;
    color: #d97706;
}

.status-badge.confirmado {
    background-color: #dbeafe;
    color: #2563eb;
}

.status-badge.preparando {
    background-color: #f3e8ff;
    color: #9333ea;
}

.status-badge.enviado {
    background-color: #ecfdf5;
    color: #059669;
}

.status-badge.entregue {
    background-color: #f0fdf4;
    color: #16a34a;
}

.status-badge.cancelado {
    background-color: #fef2f2;
    color: #dc2626;
}

.status-badge.pago {
    background-color: #f0fdf4;
    color: #16a34a;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f1f5f9;
    color: #64748b;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-primary {
    background-color: #dbeafe;
    color: #2563eb;
}

.badge-danger {
    background-color: #fee2e2;
    color: #dc2626;
}

.badge-warning {
    background-color: #fef3c7;
    color: #d97706;
}

.badge-info {
    background-color: #e0f2fe;
    color: #0284c7;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-icon:hover {
    background-color: #e2e8f0;
    color: #374151;
}

.btn-icon.danger {
    background-color: #fee2e2;
    color: #dc2626;
}

.btn-icon.danger:hover {
    background-color: #fecaca;
}

/* Filters */
.filters-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.filters-form {
    width: 100%;
}

.filter-row {
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #667eea;
}

.filter-actions {
    display: flex;
    gap: 8px;
    align-items: end;
}

/* Customer info */
.customer-info {
    display: flex;
    flex-direction: column;
}

.customer-info strong {
    color: #1e293b;
    font-weight: 600;
}

.customer-info small {
    color: #64748b;
    font-size: 0.85rem;
}

/* Order details */
.order-details {
    max-height: 60vh;
    overflow-y: auto;
}

.order-section {
    margin-bottom: 24px;
}

.order-section h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item label {
    font-weight: 500;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.info-item span {
    color: #1e293b;
    font-weight: 500;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-info h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-info p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 2px 0;
}

.item-total {
    font-weight: 600;
    color: #1e293b;
}

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-item.total {
    border-top: 2px solid #e5e7eb;
    padding-top: 16px;
    font-weight: 600;
    font-size: 1.1rem;
}

.text-warning {
    color: #d97706;
    font-size: 0.9rem;
}

/* Config form */
.config-form {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    max-width: 1200px;
    margin: 0 auto;
}

.config-section {
    margin-bottom: 40px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.config-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.config-section h2 {
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #667eea;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.config-section h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.config-section h2 i {
    color: #667eea;
    font-size: 1.2em;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.config-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.config-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    position: relative;
}

.config-form .form-group label::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    opacity: 0.3;
}

.config-form .form-group input,
.config-form .form-group textarea,
.config-form .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1e293b;
}

.config-form .form-group input:focus,
.config-form .form-group textarea:focus,
.config-form .form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.config-form .form-group small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    padding-top: 32px;
    border-top: 2px solid #e2e8f0;
    margin-top: 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    border-radius: 12px;
}

.form-actions .btn {
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.action-buttons .btn {
    padding: 12px 20px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #374151;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    border-color: #667eea;
    background: #f8fafc;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    display: none;
}

.checkbox-label .checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Responsividade para configurações */
@media (max-width: 768px) {
    .config-form {
        padding: 20px;
        margin: 0 10px;
    }
    
    .config-section {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .config-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }
}

/* Estilos adicionais para configurações */
.config-form .form-group input[type="number"] {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.config-form .form-group input[type="url"] {
    font-family: 'Inter', sans-serif;
}

.config-form .form-group input::placeholder,
.config-form .form-group textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
}

/* Animação de carregamento para botões */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tooltip para campos importantes */
.config-form .form-group label[for*="manutencao"] {
    position: relative;
}

.config-form .form-group label[for*="manutencao"]::before {
    content: '⚠️';
    position: absolute;
    right: -30px;
    top: 0;
    font-size: 16px;
    cursor: help;
}

/* Destaque para campos obrigatórios */
.config-form .form-group label[for*="site_nome"]::after,
.config-form .form-group label[for*="site_email"]::after {
    content: ' *';
    color: #ef4444;
    font-weight: bold;
}

/* Estilo para seções de backup */
.config-section:last-child {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
}

.config-section:last-child h2 {
    color: #92400e;
    border-bottom-color: #f59e0b;
}

.config-section:last-child h2 i {
    color: #f59e0b;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estilos para upload múltiplo de imagens */
.imagens-adicionais-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.imagem-upload-item {
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.imagem-upload-item:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.imagem-upload-item label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.imagem-upload-item input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: white;
}

.imagem-upload-item input[type="file"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsividade para upload de imagens */
@media (max-width: 768px) {
    .imagens-adicionais-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .imagem-upload-item {
        padding: 0.75rem;
    }
}

/* Estilos para os modais de pedidos */
.modal-large {
    max-width: 800px;
    width: 90%;
}

.pedido-detalhes {
    max-height: 70vh;
    overflow-y: auto;
}

.pedido-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.pedido-info h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pedido-data {
    color: #6b7280;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pedido-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.pedido-section {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.pedido-section h4 {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cliente-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row strong {
    color: #374151;
    font-weight: 600;
    min-width: 100px;
}

.itens-lista {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.item-pedido {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.item-imagem {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sem-imagem {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.2rem;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-info h5 {
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-descricao {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.item-detalhes {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
}

.quantidade {
    color: #374151;
    font-weight: 500;
}

.preco-unitario {
    color: #6b7280;
}

.item-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    min-width: 80px;
    text-align: right;
}

.resumo-pedido {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resumo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.resumo-item:last-child {
    border-bottom: none;
}

.resumo-item.total {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    padding-top: 16px;
    border-top: 2px solid #e5e7eb;
}

.observacoes {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    line-height: 1.6;
    color: #374151;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-style: italic;
}

/* Estilos para botões de ação */
.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-icon.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-icon.btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Alertas */
.alert-warning {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fed7aa;
}

.alert-warning i {
    color: #f59e0b;
}

/* Responsividade para modais */
@media (max-width: 768px) {
    .modal-large {
        width: 95%;
        margin: 20px auto;
    }
    
    .pedido-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .pedido-status {
        align-items: flex-start;
    }
    
    .item-pedido {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .item-total {
        align-self: flex-end;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-row strong {
        min-width: auto;
    }
}

/* Estilos específicos para o modal de Associar Cliente */
.modal-associar-cliente {
    max-width: 500px;
}

.modal-associar-cliente .modal-header {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    border-radius: 12px 12px 0 0;
}

.modal-associar-cliente .modal-header h2 {
    color: #1a1a1a;
    font-weight: 700;
}

.modal-associar-cliente .modal-body {
    padding: 24px;
}

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

.modal-associar-cliente label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.modal-associar-cliente select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-associar-cliente select:focus {
    outline: none;
    border-color: #ffd700;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.modal-associar-cliente select option {
    padding: 8px;
    background: white;
    color: #374151;
}

.modal-associar-cliente select option:hover {
    background: #f3f4f6;
}

.modal-associar-cliente .modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.modal-associar-cliente .btn {
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-associar-cliente .btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
}

.modal-associar-cliente .btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.modal-associar-cliente .btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    border: none;
}

.modal-associar-cliente .btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Responsividade para o modal de associar cliente */
@media (max-width: 768px) {
    .modal-associar-cliente {
        width: 95%;
        margin: 20px auto;
    }
    
    .modal-associar-cliente .modal-actions {
        flex-direction: column;
    }
    
    .modal-associar-cliente .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Estilos específicos para o modal de Atualizar Pedido */
.modal-atualizar-pedido {
    max-width: 600px;
}

.modal-atualizar-pedido .modal-header {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-atualizar-pedido .modal-header h2 {
    color: white;
    font-weight: 700;
}

.modal-atualizar-pedido .modal-body {
    padding: 24px;
}

.modal-atualizar-pedido .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-atualizar-pedido .form-group {
    margin-bottom: 0;
}

.modal-atualizar-pedido label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.modal-atualizar-pedido select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-atualizar-pedido select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-atualizar-pedido select option {
    padding: 8px;
    background: white;
    color: #374151;
}

.modal-atualizar-pedido select option:hover {
    background: #f3f4f6;
}

.modal-atualizar-pedido .modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.modal-atualizar-pedido .btn {
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-atualizar-pedido .btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
}

.modal-atualizar-pedido .btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.modal-atualizar-pedido .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border: none;
}

.modal-atualizar-pedido .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Responsividade para o modal de atualizar pedido */
@media (max-width: 768px) {
    .modal-atualizar-pedido {
        width: 95%;
        margin: 20px auto;
    }
    
    .modal-atualizar-pedido .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .modal-atualizar-pedido .modal-actions {
        flex-direction: column;
    }
    
    .modal-atualizar-pedido .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Estilos para a página de Logs */
.filters-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.filters-header h3 {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

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

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #ffd700;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Estilos para a tabela de logs */
.log-timestamp {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.log-date {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.log-time {
    color: #6b7280;
    font-size: 0.8rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-weight: 600;
    color: #1a1a1a;
}

.user-email {
    color: #6b7280;
    font-size: 0.8rem;
}

.action-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #f3f4f6;
    color: #374151;
}

.action-badge.large {
    padding: 8px 12px;
    font-size: 1rem;
}

.action-badge i {
    font-size: 0.9rem;
}

.table-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.table-badge.empty {
    background: #f3f4f6;
    color: #6b7280;
}

.record-id {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #059669;
    background: #d1fae5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.record-id.empty {
    background: #f3f4f6;
    color: #6b7280;
}

.ip-address {
    font-family: 'Courier New', monospace;
    color: #6b7280;
    font-size: 0.85rem;
}

/* Paginação Admin Moderna */
.paginacao-admin {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.paginacao-admin .pagina {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: #f3f4f6;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    border: 1px solid #e5e7eb;
}
.paginacao-admin .pagina:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.paginacao-admin .pagina.ativa {
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
    cursor: default;
}
@media (max-width: 600px) {
    .paginacao-admin .pagina {
        padding: 0.4rem 0.7rem;
        font-size: 0.95rem;
    }
}

/* Estilos para o modal de detalhes do log */
.log-detalhes {
    max-height: 70vh;
    overflow-y: auto;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.log-info h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.log-timestamp {
    color: #6b7280;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.log-section {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.log-section h4 {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-details,
.action-details,
.tech-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.data-changes {
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.json-viewer,
.raw-data {
    padding: 16px;
    background: #1a1a1a;
    color: #e5e7eb;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    overflow-x: auto;
}

.json-viewer pre,
.raw-data pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.user-agent {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 8px 12px;
    border-radius: 6px;
    word-break: break-all;
}

/* Responsividade para logs */
@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .filter-actions {
        justify-content: stretch;
    }
    
    .filter-actions .btn {
        flex: 1;
    }
    
    .pagination {
        flex-direction: column;
        gap: 12px;
    }
    
    .page-numbers {
        order: 2;
    }
    
    .log-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .log-action {
        align-self: flex-start;
    }
} 