/* _content/ParcelleCheck/MainLayout.razor.rz.scp.css */
.app-container[b-enu2gwtgsx] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f3f4f6;
}

.top-nav[b-enu2gwtgsx] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10000;
}

.nav-brand a[b-enu2gwtgsx] {
    text-decoration: none;
}

.nav-brand h1[b-enu2gwtgsx] {
    font-size: 1.75rem;
    margin: 1.25rem 0;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.nav-brand h1:hover[b-enu2gwtgsx] {
    transform: scale(1.05);
}

.nav-links[b-enu2gwtgsx] {
    display: flex;
    gap: 0.5rem;
}

.nav-link[b-enu2gwtgsx] {
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover[b-enu2gwtgsx] {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-link:active[b-enu2gwtgsx] {
    transform: translateY(0);
}

.nav-link.admin-link[b-enu2gwtgsx] {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link.admin-link:hover[b-enu2gwtgsx] {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-link.login-link[b-enu2gwtgsx] {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.logout-link[b-enu2gwtgsx] {
    background: rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link.logout-link:hover[b-enu2gwtgsx] {
    background: rgba(239, 68, 68, 0.5);
}

.main-content[b-enu2gwtgsx] {
    flex: 1;
    padding: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .top-nav[b-enu2gwtgsx] {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-brand h1[b-enu2gwtgsx] {
        font-size: 1.5rem;
        margin: 0.75rem 0;
    }

    .nav-links[b-enu2gwtgsx] {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-bottom: 0.75rem;
    }

    .nav-link[b-enu2gwtgsx] {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}
/* _content/ParcelleCheck/Pages/Admin/Index.razor.rz.scp.css */
.admin-container[b-a4pfl9a6tb] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-header[b-a4pfl9a6tb] {
    text-align: center;
    margin-bottom: 3rem;
}

.admin-header h1[b-a4pfl9a6tb] {
    margin: 0 0 1rem 0;
    font-size: 2.5rem;
    color: #1f2937;
}

.welcome[b-a4pfl9a6tb] {
    font-size: 1.1rem;
    color: #6b7280;
}

.welcome strong[b-a4pfl9a6tb] {
    color: #667eea;
}

.admin-grid[b-a4pfl9a6tb] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-card[b-a4pfl9a6tb] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.admin-card:hover[b-a4pfl9a6tb] {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.card-icon[b-a4pfl9a6tb] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.admin-card h2[b-a4pfl9a6tb] {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #1f2937;
}

.admin-card p[b-a4pfl9a6tb] {
    color: #6b7280;
    margin: 0 0 1rem 0;
    flex: 1;
    line-height: 1.6;
}

.card-action[b-a4pfl9a6tb] {
    color: #667eea;
    font-weight: 600;
    margin-top: auto;
}

.quick-actions[b-a4pfl9a6tb] {
    background: #f9fafb;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid #e5e7eb;
}

.quick-actions h3[b-a4pfl9a6tb] {
    margin: 0 0 1.5rem 0;
    color: #374151;
    font-size: 1.25rem;
}

.actions-grid[b-a4pfl9a6tb] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-btn[b-a4pfl9a6tb] {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
    display: block;
}

.action-btn.secondary[b-a4pfl9a6tb] {
    background: #667eea;
    color: white;
}

.action-btn.secondary:hover[b-a4pfl9a6tb] {
    background: #5a67d8;
    transform: translateY(-2px);
}

.action-btn.logout[b-a4pfl9a6tb] {
    background: #ef4444;
    color: white;
}

.action-btn.logout:hover[b-a4pfl9a6tb] {
    background: #dc2626;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .admin-header h1[b-a4pfl9a6tb] {
        font-size: 2rem;
    }

    .admin-grid[b-a4pfl9a6tb] {
        grid-template-columns: 1fr;
    }

    .actions-grid[b-a4pfl9a6tb] {
        grid-template-columns: 1fr;
    }
}
/* _content/ParcelleCheck/Pages/Admin/Layers.razor.rz.scp.css */
/* Page wrapper */
:host[b-6iq5xvtu89] {
    display: block;
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

h1[b-6iq5xvtu89] {
    margin-bottom: 2rem;
}

/* Action Buttons */
.action-buttons[b-6iq5xvtu89] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-sync[b-6iq5xvtu89] {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

.btn-sync:hover:not(:disabled)[b-6iq5xvtu89] {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.btn-sync:disabled[b-6iq5xvtu89] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.sync-message[b-6iq5xvtu89] {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.sync-message.success[b-6iq5xvtu89] {
    background: #d1fae5;
    color: #065f46;
}

.sync-message.error[b-6iq5xvtu89] {
    background: #fee2e2;
    color: #991b1b;
}

/* Statistics Cards */
.stats-container[b-6iq5xvtu89] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card[b-6iq5xvtu89] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid #667eea;
}

.stat-card:hover[b-6iq5xvtu89] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.stat-icon[b-6iq5xvtu89] {
    font-size: 2.5rem;
}

.stat-content[b-6iq5xvtu89] {
    flex: 1;
}

.stat-label[b-6iq5xvtu89] {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.stat-value[b-6iq5xvtu89] {
    font-size: 1.75rem;
    font-weight: bold;
    color: #333;
}

/* Filters */
.filters-container[b-6iq5xvtu89] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.filter-group[b-6iq5xvtu89] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label[b-6iq5xvtu89] {
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
}

.filter-input[b-6iq5xvtu89],
.filter-select[b-6iq5xvtu89] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.filter-input:focus[b-6iq5xvtu89],
.filter-select:focus[b-6iq5xvtu89] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-actions[b-6iq5xvtu89] {
    display: flex;
    gap: 0.5rem;
}

.btn[b-6iq5xvtu89] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary[b-6iq5xvtu89] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover[b-6iq5xvtu89] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.btn-secondary[b-6iq5xvtu89] {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover[b-6iq5xvtu89] {
    background: #4b5563;
}

/* Folder Section */
.folder-section[b-6iq5xvtu89] {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.folder-header[b-6iq5xvtu89] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.2s;
}

.folder-header:hover[b-6iq5xvtu89] {
    opacity: 0.9;
}

.folder-title[b-6iq5xvtu89] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.folder-icon[b-6iq5xvtu89] {
    font-size: 1.5rem;
}

.folder-title h2[b-6iq5xvtu89] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.folder-badge[b-6iq5xvtu89] {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.toggle-icon[b-6iq5xvtu89] {
    color: white;
    font-size: 1.25rem;
}

.folder-content[b-6iq5xvtu89] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Service Card */
.service-card[b-6iq5xvtu89] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.service-card:hover[b-6iq5xvtu89] {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-header[b-6iq5xvtu89] {
    background: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e5e7eb;
    transition: background 0.2s;
}

.service-header:hover[b-6iq5xvtu89] {
    background: #fafafa;
}

.service-header h3[b-6iq5xvtu89] {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 600;
}

.service-description[b-6iq5xvtu89] {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
}

.expand-icon[b-6iq5xvtu89] {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
}

.service-info[b-6iq5xvtu89] {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: white;
}

.info-row[b-6iq5xvtu89] {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
}

.info-label[b-6iq5xvtu89] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
}

.info-value[b-6iq5xvtu89] {
    font-size: 0.875rem;
    color: #1f2937;
    word-break: break-word;
}

.info-url a[b-6iq5xvtu89] {
    color: #667eea;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.info-url a:hover[b-6iq5xvtu89] {
    color: #764ba2;
    text-decoration: underline;
}

.external-icon[b-6iq5xvtu89] {
    font-size: 0.75rem;
}

/* Layers List */
.layers-list[b-6iq5xvtu89] {
    padding: 1rem 1.5rem;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
}

.layers-list h4[b-6iq5xvtu89] {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #374151;
}

.layer-item[b-6iq5xvtu89] {
    background: white;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    border-left: 3px solid #667eea;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}

.layer-item:last-child[b-6iq5xvtu89] {
    margin-bottom: 0;
}

.layer-id[b-6iq5xvtu89] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #667eea;
    background: #ede9fe;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.layer-name[b-6iq5xvtu89] {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 500;
}

.layer-scale[b-6iq5xvtu89] {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    gap: 0.5rem;
}

.layer-scale span[b-6iq5xvtu89] {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Loading */
.loading[b-6iq5xvtu89] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: #6b7280;
}

.spinner[b-6iq5xvtu89] {
    width: 3rem;
    height: 3rem;
    border: 4px solid #e5e7eb;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin-b-6iq5xvtu89 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-6iq5xvtu89 {
    to { transform: rotate(360deg); }
}

.loading-hint[b-6iq5xvtu89] {
    font-size: 0.875rem;
    color: #9ca3af;
    font-style: italic;
    margin-top: 0.5rem;
}

.no-data[b-6iq5xvtu89] {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af;
    font-style: italic;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Additional stat styles */
.stat-active[b-6iq5xvtu89] {
    border-left: 4px solid #10b981;
}

.folder-active-badge[b-6iq5xvtu89] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    background: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Service Toggle */
.service-header-row[b-6iq5xvtu89] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-toggle[b-6iq5xvtu89] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.toggle-label[b-6iq5xvtu89] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    min-width: 60px;
}

.service-header-content[b-6iq5xvtu89] {
    flex: 1;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.service-card.active[b-6iq5xvtu89] {
    border-left: 4px solid #10b981;
}

/* Toggle Switch */
.switch[b-6iq5xvtu89] {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input[b-6iq5xvtu89] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-6iq5xvtu89] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.4s;
    border-radius: 24px;
}

.slider[b-6iq5xvtu89]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider[b-6iq5xvtu89] {
    background-color: #10b981;
}

input:checked + .slider[b-6iq5xvtu89]:before {
    transform: translateX(26px);
}

input:focus + .slider[b-6iq5xvtu89] {
    box-shadow: 0 0 1px #10b981;
}

/* Responsive */
@media (max-width: 768px) {
    .filters-container[b-6iq5xvtu89] {
        grid-template-columns: 1fr;
    }

    .stats-container[b-6iq5xvtu89] {
        grid-template-columns: 1fr;
    }

    .info-row[b-6iq5xvtu89] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .layer-item[b-6iq5xvtu89] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}
/* _content/ParcelleCheck/Pages/Admin/Logs.razor.rz.scp.css */
.logs-container[b-wt5drlfzcx] {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

.logs-header[b-wt5drlfzcx] {
    margin-bottom: 2rem;
}

.logs-header h1[b-wt5drlfzcx] {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 2rem;
}

.subtitle[b-wt5drlfzcx] {
    color: #6b7280;
    margin: 0;
    font-size: 1rem;
}

.filters-card[b-wt5drlfzcx] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-row[b-wt5drlfzcx] {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 1rem;
    align-items: end;
}

.filter-group[b-wt5drlfzcx] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label[b-wt5drlfzcx] {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.filter-select[b-wt5drlfzcx],
.filter-input[b-wt5drlfzcx] {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.filter-select:focus[b-wt5drlfzcx],
.filter-input:focus[b-wt5drlfzcx] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-actions[b-wt5drlfzcx] {
    display: flex;
    gap: 0.5rem;
}

.btn[b-wt5drlfzcx] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.btn:disabled[b-wt5drlfzcx] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary[b-wt5drlfzcx] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover:not(:disabled)[b-wt5drlfzcx] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary[b-wt5drlfzcx] {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover[b-wt5drlfzcx] {
    background: #4b5563;
}

.btn-danger[b-wt5drlfzcx] {
    background: #ef4444;
    color: white;
}

.btn-danger:hover:not(:disabled)[b-wt5drlfzcx] {
    background: #dc2626;
}

.loading[b-wt5drlfzcx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.spinner[b-wt5drlfzcx] {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin-b-wt5drlfzcx 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-wt5drlfzcx {
    to { transform: rotate(360deg); }
}

.alert[b-wt5drlfzcx] {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-error[b-wt5drlfzcx] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.empty-state[b-wt5drlfzcx] {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #6b7280;
    font-style: italic;
}

.stats-bar[b-wt5drlfzcx] {
    display: flex;
    gap: 2rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

.error-count[b-wt5drlfzcx] {
    color: #ef4444;
}

.logs-table-container[b-wt5drlfzcx] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.logs-table[b-wt5drlfzcx] {
    width: 100%;
    border-collapse: collapse;
}

.logs-table thead[b-wt5drlfzcx] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.logs-table th[b-wt5drlfzcx] {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.logs-table tbody tr[b-wt5drlfzcx] {
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s;
}

.logs-table tbody tr:hover[b-wt5drlfzcx] {
    background: #f9fafb;
}

.logs-table td[b-wt5drlfzcx] {
    padding: 1rem;
    font-size: 0.9rem;
}

.log-timestamp[b-wt5drlfzcx] {
    white-space: nowrap;
    color: #6b7280;
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
}

.log-level[b-wt5drlfzcx] {
    white-space: nowrap;
}

.badge[b-wt5drlfzcx] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-information[b-wt5drlfzcx] {
    background: #dbeafe;
    color: #1e40af;
}

.badge-warning[b-wt5drlfzcx] {
    background: #fef3c7;
    color: #92400e;
}

.badge-error[b-wt5drlfzcx] {
    background: #fee2e2;
    color: #991b1b;
}

.badge-fatal[b-wt5drlfzcx] {
    background: #1f2937;
    color: white;
}

.log-message[b-wt5drlfzcx] {
    max-width: 600px;
    word-break: break-word;
    color: #374151;
}

.log-exception[b-wt5drlfzcx] {
    max-width: 300px;
}

.btn-expand[b-wt5drlfzcx] {
    padding: 0.25rem 0.5rem;
    background: #e5e7eb;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.2s;
}

.btn-expand:hover[b-wt5drlfzcx] {
    background: #d1d5db;
}

.exception-details[b-wt5drlfzcx] {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-left: 3px solid #ef4444;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: 'Consolas', monospace;
    overflow-x: auto;
    max-width: 100%;
    white-space: pre-wrap;
    word-break: break-word;
}

.text-muted[b-wt5drlfzcx] {
    color: #9ca3af;
}

@media (max-width: 1024px) {
    .filter-row[b-wt5drlfzcx] {
        grid-template-columns: 1fr;
    }

    .logs-table[b-wt5drlfzcx] {
        font-size: 0.8rem;
    }

    .logs-table th[b-wt5drlfzcx],
    .logs-table td[b-wt5drlfzcx] {
        padding: 0.75rem 0.5rem;
    }
}
/* _content/ParcelleCheck/Pages/Admin/Parcels.razor.rz.scp.css */
/* Page wrapper */
:host[b-ua7tkx2z8m] {
    display: block;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Worker Control Panel */
.worker-control-panel[b-ua7tkx2z8m] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.worker-status[b-ua7tkx2z8m] {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.status-indicator[b-ua7tkx2z8m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.status-running[b-ua7tkx2z8m] {
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    color: #10b981;
}

.status-stopped[b-ua7tkx2z8m] {
    background: rgba(251, 146, 60, 0.2);
    border: 2px solid #fb923c;
    color: #fb923c;
}

.status-unknown[b-ua7tkx2z8m] {
    background: rgba(156, 163, 175, 0.2);
    border: 2px solid #9ca3af;
    color: #9ca3af;
}

.status-icon[b-ua7tkx2z8m] {
    font-size: 1.25rem;
}

.status-text[b-ua7tkx2z8m] {
    font-size: 0.95rem;
}

.progress-info[b-ua7tkx2z8m] {
    color: white;
    padding-left: 2.5rem;
    opacity: 0.9;
}

.worker-actions[b-ua7tkx2z8m] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.worker-actions .btn[b-ua7tkx2z8m] {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.worker-actions .btn:disabled[b-ua7tkx2z8m] {
    opacity: 0.6;
    cursor: not-allowed;
}

.worker-actions .btn-success[b-ua7tkx2z8m] {
    background: #10b981;
    color: white;
}

.worker-actions .btn-success:hover:not(:disabled)[b-ua7tkx2z8m] {
    background: #059669;
    transform: translateY(-1px);
}

.worker-actions .btn-warning[b-ua7tkx2z8m] {
    background: #f59e0b;
    color: white;
}

.worker-actions .btn-warning:hover:not(:disabled)[b-ua7tkx2z8m] {
    background: #d97706;
    transform: translateY(-1px);
}

.worker-actions .btn-secondary[b-ua7tkx2z8m] {
    background: #6b7280;
    color: white;
}

.worker-actions .btn-secondary:hover:not(:disabled)[b-ua7tkx2z8m] {
    background: #4b5563;
    transform: translateY(-1px);
}

.spinner-border-sm[b-ua7tkx2z8m] {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Worker Monitor */
.worker-monitor[b-ua7tkx2z8m] {
    background: #1f2937;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.worker-header[b-ua7tkx2z8m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.worker-header h3[b-ua7tkx2z8m] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.live-indicator[b-ua7tkx2z8m] {
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
    animation: pulse-b-ua7tkx2z8m 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-b-ua7tkx2z8m {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.worker-logs[b-ua7tkx2z8m] {
    background: #111827;
    padding: 1rem;
    max-height: 150px;
    overflow-y: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.worker-logs[b-ua7tkx2z8m]::-webkit-scrollbar {
    width: 8px;
}

.worker-logs[b-ua7tkx2z8m]::-webkit-scrollbar-track {
    background: #1f2937;
}

.worker-logs[b-ua7tkx2z8m]::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

.worker-logs[b-ua7tkx2z8m]::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

.no-activity[b-ua7tkx2z8m] {
    color: #9ca3af;
    text-align: center;
    padding: 1rem;
    font-style: italic;
}

.log-entry[b-ua7tkx2z8m] {
    color: #e5e7eb;
    padding: 0.25rem 0;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid #374151;
}

.log-entry:last-child[b-ua7tkx2z8m] {
    border-bottom: none;
}

.log-time[b-ua7tkx2z8m] {
    color: #9ca3af;
    min-width: 70px;
    font-weight: 500;
}

.log-message[b-ua7tkx2z8m] {
    color: #10b981;
    flex: 1;
}

/* Statistics Cards */
.stats-container[b-ua7tkx2z8m] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card[b-ua7tkx2z8m] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover[b-ua7tkx2z8m] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.stat-icon[b-ua7tkx2z8m] {
    font-size: 2.5rem;
}

.stat-content[b-ua7tkx2z8m] {
    flex: 1;
}

.stat-label[b-ua7tkx2z8m] {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.stat-value[b-ua7tkx2z8m] {
    font-size: 1.75rem;
    font-weight: bold;
    color: #333;
}

.stat-total[b-ua7tkx2z8m] { border-left: 4px solid #3b82f6; }
.stat-success[b-ua7tkx2z8m] { border-left: 4px solid #10b981; }
.stat-failed[b-ua7tkx2z8m] { border-left: 4px solid #ef4444; }
.stat-layers[b-ua7tkx2z8m] { border-left: 4px solid #8b5cf6; }

/* Filters */
.filters-container[b-ua7tkx2z8m] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group[b-ua7tkx2z8m] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label[b-ua7tkx2z8m] {
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
}

.filter-input[b-ua7tkx2z8m],
.filter-select[b-ua7tkx2z8m] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.filter-input:focus[b-ua7tkx2z8m],
.filter-select:focus[b-ua7tkx2z8m] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-actions[b-ua7tkx2z8m] {
    display: flex;
    gap: 0.5rem;
}

.btn[b-ua7tkx2z8m] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary[b-ua7tkx2z8m] {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover[b-ua7tkx2z8m] {
    background: #2563eb;
}

.btn-secondary[b-ua7tkx2z8m] {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover[b-ua7tkx2z8m] {
    background: #4b5563;
}

/* Table */
.table-container[b-ua7tkx2z8m] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.data-table[b-ua7tkx2z8m] {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead[b-ua7tkx2z8m] {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.data-table th[b-ua7tkx2z8m] {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table tbody tr[b-ua7tkx2z8m] {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s;
}

.data-table tbody tr:hover[b-ua7tkx2z8m] {
    background: #f9fafb;
}

.data-table tbody tr.expanded[b-ua7tkx2z8m] {
    background: #eff6ff;
}

.data-table td[b-ua7tkx2z8m] {
    padding: 1rem;
    font-size: 0.875rem;
}

.capakey-cell code[b-ua7tkx2z8m] {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.status-badge[b-ua7tkx2z8m] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed[b-ua7tkx2z8m] {
    background: #d1fae5;
    color: #065f46;
}

.status-failed[b-ua7tkx2z8m] {
    background: #fee2e2;
    color: #991b1b;
}

.status-pending[b-ua7tkx2z8m] {
    background: #fef3c7;
    color: #92400e;
}

.layers-badge[b-ua7tkx2z8m] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #dbeafe;
    color: #1e40af;
}

.layers-badge.no-layers[b-ua7tkx2z8m] {
    background: #f3f4f6;
    color: #6b7280;
}

.date-cell[b-ua7tkx2z8m] {
    color: #6b7280;
    white-space: nowrap;
}

.actions-cell[b-ua7tkx2z8m] {
    display: flex;
    gap: 0.5rem;
}

.btn-icon[b-ua7tkx2z8m] {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: transform 0.2s;
}

.btn-icon:hover[b-ua7tkx2z8m] {
    transform: scale(1.2);
}

.btn-icon.btn-danger:hover[b-ua7tkx2z8m] {
    filter: brightness(1.2);
}

.no-data[b-ua7tkx2z8m] {
    text-align: center;
    padding: 3rem !important;
    color: #9ca3af;
    font-style: italic;
}

/* Details Row */
.details-row[b-ua7tkx2z8m] {
    background: #f8fafc !important;
}

.details-container[b-ua7tkx2z8m] {
    padding: 1.5rem;
}

.details-container h4[b-ua7tkx2z8m] {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #374151;
}

.error-message[b-ua7tkx2z8m] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #991b1b;
}

.no-layers-message[b-ua7tkx2z8m] {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 2rem;
}

/* Layers Grid */
.layers-grid[b-ua7tkx2z8m] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.layer-card[b-ua7tkx2z8m] {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem;
    transition: box-shadow 0.2s;
}

.layer-card:hover[b-ua7tkx2z8m] {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.layer-header[b-ua7tkx2z8m] {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-json[b-ua7tkx2z8m] {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.btn-json:hover[b-ua7tkx2z8m] {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(102, 126, 234, 0.4);
}

.json-container[b-ua7tkx2z8m] {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.json-header[b-ua7tkx2z8m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.json-header h4[b-ua7tkx2z8m] {
    margin: 0;
    font-size: 0.875rem;
    color: #1f2937;
}

.copy-button[b-ua7tkx2z8m] {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-button:hover[b-ua7tkx2z8m] {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.json-content[b-ua7tkx2z8m] {
    background: #1f2937;
    color: #10b981;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.5;
    max-height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}

.layer-info[b-ua7tkx2z8m] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.layer-detail[b-ua7tkx2z8m] {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
}

.layer-detail .label[b-ua7tkx2z8m] {
    color: #6b7280;
    font-weight: 500;
}

.layer-detail .value[b-ua7tkx2z8m] {
    color: #374151;
}

/* Pagination */
.pagination-container[b-ua7tkx2z8m] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info[b-ua7tkx2z8m] {
    font-size: 0.875rem;
    color: #6b7280;
}

.pagination-controls[b-ua7tkx2z8m] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-numbers[b-ua7tkx2z8m] {
    display: flex;
    gap: 0.25rem;
}

.btn-page[b-ua7tkx2z8m] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-page:hover:not(:disabled)[b-ua7tkx2z8m] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.btn-page:disabled[b-ua7tkx2z8m] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-page.active[b-ua7tkx2z8m] {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.pagination-size[b-ua7tkx2z8m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.page-size-select[b-ua7tkx2z8m] {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
}

/* Loading */
.loading[b-ua7tkx2z8m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: #6b7280;
}

.spinner[b-ua7tkx2z8m] {
    width: 3rem;
    height: 3rem;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-ua7tkx2z8m 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-ua7tkx2z8m {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .stats-container[b-ua7tkx2z8m] {
        grid-template-columns: 1fr;
    }

    .filters-container[b-ua7tkx2z8m] {
        grid-template-columns: 1fr;
    }

    .layers-grid[b-ua7tkx2z8m] {
        grid-template-columns: 1fr;
    }

    .pagination-container[b-ua7tkx2z8m] {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination-controls[b-ua7tkx2z8m] {
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* _content/ParcelleCheck/Pages/Admin/Rules.razor.rz.scp.css */
.rules-container[b-9585jbdwnu] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header[b-9585jbdwnu] {
    margin-bottom: 2rem;
}

.page-header h1[b-9585jbdwnu] {
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

.subtitle[b-9585jbdwnu] {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

.alert[b-9585jbdwnu] {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-error[b-9585jbdwnu] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success[b-9585jbdwnu] {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.actions-bar[b-9585jbdwnu] {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-group[b-9585jbdwnu] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-group label[b-9585jbdwnu] {
    color: #374151;
    font-weight: 500;
    margin: 0;
}

.form-select[b-9585jbdwnu] {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    min-width: 250px;
}

.btn[b-9585jbdwnu] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.btn-primary[b-9585jbdwnu] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover[b-9585jbdwnu] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary[b-9585jbdwnu] {
    background: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover[b-9585jbdwnu] {
    background: #d1d5db;
}

.btn-danger[b-9585jbdwnu] {
    background: #ef4444;
    color: white;
}

.btn-danger:hover[b-9585jbdwnu] {
    background: #dc2626;
}

.btn-small[b-9585jbdwnu] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-icon[b-9585jbdwnu] {
    padding: 0.5rem;
    background: transparent;
    border: 1px solid #e5e7eb;
}

.btn-icon:hover[b-9585jbdwnu] {
    background: #f9fafb;
}

.loading[b-9585jbdwnu] {
    text-align: center;
    padding: 4rem 2rem;
}

.spinner[b-9585jbdwnu] {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin-b-9585jbdwnu 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin-b-9585jbdwnu {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rule-form-container[b-9585jbdwnu] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header[b-9585jbdwnu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.form-header h2[b-9585jbdwnu] {
    margin: 0;
    font-size: 1.5rem;
}

.form-content[b-9585jbdwnu] {
    padding: 2rem;
}

.form-row[b-9585jbdwnu] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group[b-9585jbdwnu] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-9585jbdwnu] {
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-9585jbdwnu] {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus[b-9585jbdwnu] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea.form-control[b-9585jbdwnu] {
    resize: vertical;
    font-family: inherit;
}

.form-hint[b-9585jbdwnu] {
    display: block;
    margin-top: 0.25rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.conditions-section[b-9585jbdwnu] {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.section-header[b-9585jbdwnu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3[b-9585jbdwnu] {
    margin: 0;
    color: #1f2937;
    font-size: 1.25rem;
}

.empty-state[b-9585jbdwnu] {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
}

.conditions-list[b-9585jbdwnu] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.condition-item[b-9585jbdwnu] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.condition-number[b-9585jbdwnu] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.condition-fields[b-9585jbdwnu] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    flex: 1;
}

.condition-operator[b-9585jbdwnu] {
    text-align: center;
    padding: 0.5rem 0;
}

.operator-badge[b-9585jbdwnu] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #667eea;
    color: white;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.form-actions[b-9585jbdwnu] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.empty-state-large[b-9585jbdwnu] {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.empty-state-large p[b-9585jbdwnu] {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.rules-grid[b-9585jbdwnu] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 1.5rem;
}

.rule-card[b-9585jbdwnu] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.2s;
}

.rule-card:hover[b-9585jbdwnu] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.rule-card.inactive[b-9585jbdwnu] {
    opacity: 0.6;
}

.rule-header[b-9585jbdwnu] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.rule-title[b-9585jbdwnu] {
    flex: 1;
}

.rule-title h3[b-9585jbdwnu] {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.badge[b-9585jbdwnu] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

.badge-active[b-9585jbdwnu] {
    background: #10b981;
    color: white;
}

.badge-inactive[b-9585jbdwnu] {
    background: #6b7280;
    color: white;
}

.badge-priority[b-9585jbdwnu] {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.rule-actions[b-9585jbdwnu] {
    display: flex;
    gap: 0.5rem;
}

.rule-info[b-9585jbdwnu] {
    padding: 1.5rem;
}

.info-item[b-9585jbdwnu] {
    margin-bottom: 1rem;
    color: #374151;
    font-size: 0.95rem;
}

.info-item strong[b-9585jbdwnu] {
    color: #1f2937;
    display: block;
    margin-bottom: 0.25rem;
}

.rule-text[b-9585jbdwnu] {
    padding: 0.75rem;
    background: #f9fafb;
    border-left: 4px solid #667eea;
    border-radius: 4px;
    margin-top: 0.5rem;
    font-style: italic;
    color: #4b5563;
}

.rule-conditions-preview[b-9585jbdwnu] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.condition-preview[b-9585jbdwnu] {
    padding: 0.25rem 0.75rem;
    background: #ede9fe;
    color: #6d28d9;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: 'Consolas', 'Monaco', monospace;
}

@media (max-width: 768px) {
    .actions-bar[b-9585jbdwnu] {
        flex-direction: column;
        align-items: stretch;
    }

    .rules-grid[b-9585jbdwnu] {
        grid-template-columns: 1fr;
    }

    .condition-fields[b-9585jbdwnu] {
        grid-template-columns: 1fr;
    }

    .form-row[b-9585jbdwnu] {
        grid-template-columns: 1fr;
    }
}
/* _content/ParcelleCheck/Pages/Index.razor.rz.scp.css */
.map-page[b-a8q42rf2l1] {
    width: 100%;
    height: calc(100vh - 72px); /* Full height minus nav */
    position: relative;
}
