@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

/* Professional Color Palette */
:root {
    /* Primary Colors - Blau-Töne */
    --elit-primary: #2563eb;        /* Modernes Blau */
    --elit-primary-hover: #1d4ed8;  /* Dunkleres Blau beim Hover */
    --elit-primary-light: #dbeafe;  /* Helles Blau für Hintergründe */
    
    /* Secondary Colors - Grau-Töne */
    --elit-secondary: #64748b;      /* Professionelles Grau */
    --elit-secondary-hover: #475569;/* Dunkleres Grau beim Hover */
    --elit-secondary-light: #f1f5f9;/* Helles Grau für Hintergründe */
    
    /* Success - Grün */
    --elit-success: #10b981;        /* Modernes Grün */
    --elit-success-hover: #059669;  /* Dunkleres Grün */
    --elit-success-light: #d1fae5;  /* Helles Grün */
    
    /* Warning - Orange */
    --elit-warning: #f59e0b;        /* Warmes Orange */
    --elit-warning-hover: #d97706;  /* Dunkleres Orange */
    --elit-warning-light: #fef3c7;  /* Helles Orange */
    
    /* Danger - Rot */
    --elit-danger: #ef4444;         /* Klares Rot */
    --elit-danger-hover: #dc2626;   /* Dunkleres Rot */
    --elit-danger-light: #fee2e2;   /* Helles Rot */
    
    /* Neutrals - Grau-Skala */
    --elit-gray-50: #f9fafb;
    --elit-gray-100: #f3f4f6;
    --elit-gray-200: #e5e7eb;
    --elit-gray-300: #d1d5db;
    --elit-gray-400: #9ca3af;
    --elit-gray-500: #6b7280;
    --elit-gray-600: #4b5563;
    --elit-gray-700: #374151;
    --elit-gray-800: #1f2937;
    --elit-gray-900: #111827;
    
    /* Sidebar */
    --sidebar-bg: #f8fafc;
    --sidebar-text: #334155;
    --sidebar-hover: #e2e8f0;
    --sidebar-border: #cbd5e1;
    
    /* Content */
    --content-bg: #ffffff;
    --content-text: var(--elit-gray-900);
    
    /* Borders & Shadows */
    --border-color: var(--elit-gray-200);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Projekt Farb-Anzeige */
.color-preview {
    width: 40px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    display: inline-block;
}

/* Farb-Picker Container */
.color-picker-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.color-picker {
    width: 60px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.color-input {
    flex: 1;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background-color: var(--elit-success-light);
    color: var(--elit-success);
}

.status-badge.inactive {
    background-color: var(--elit-gray-200);
    color: var(--elit-gray-600);
}

/* Heute-Seite Card Footer */
.today-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.today-card .card-footer .btn {
    padding: 4px 8px;
}

.today-card .card-footer .btn i {
    font-size: 14px;
}

.today-card .card-footer .button-group {
    display: flex;
    gap: 4px;
}

/* Subtasks Liste */
.subtasks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subtask-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.subtask-item input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.subtask-item input[type="text"] {
    flex: 1;
}

.subtask-item .dxbs-btn {
    flex-shrink: 0;
}

/* Time Tracking Indicator - Pulsierende Glocke */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.time-tracking-indicator {
    display: flex;
    align-items: center;
}
/* Stundennachweis Excel-Stil */
.stundennachweis-excel-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.excel-header {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.excel-grid {
    border: 1px solid #dee2e6;
}

.excel-grid .dxbs-grid-header-cell {
    background-color: #e9ecef;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.excel-grid .dxbs-grid-data-row {
    border-bottom: 1px solid #e9ecef;
}

.excel-grid .dxbs-grid-data-row:hover {
    background-color: #f8f9fa;
}

.excel-grid input,
.excel-grid .dxbs-editor {
    border: 1px solid #ced4da;
    border-radius: 2px;
}

.excel-grid input:focus,
.excel-grid .dxbs-editor:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Legal Pages (Impressum, Datenschutz) */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.7;
    color: #374151;
}

.legal-page h2 {
    color: #1c1c1e;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2563eb;
}

.legal-page h4 {
    color: #1f2937;
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-page h5 {
    color: #374151;
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-page ul {
    padding-left: 20px;
}

.legal-page ul li {
    margin-bottom: 6px;
}