/* ============================================
   Base Styles & Typography - Clean & Modern SaaS
   ============================================ */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-size: 14px;
    line-height: 1.5;
    color: #1E293B;
    background-color: #F8FAFC;
}

h1, h2, h3, h4, h5, h6,
.card-title,
.euroclean-modal-title,
.admin-page-title {
    color: #0F172A;
    font-weight: 600;
}

/* ============================================
   Master Dashboard Container - Full Width Layout
   ============================================ */
.euroclean-dashboard-container {
    width: 95% !important;
    max-width: 1600px !important;
    margin: 20px auto !important;
    padding: 0 !important;
    box-sizing: border-box;
    clear: both;
    background: rgba(248, 250, 252, 0.75);
    backdrop-filter: blur(10px);
}

/* Force full width on parent containers if needed */
body .entry-content .euroclean-dashboard-container,
body .post-content .euroclean-dashboard-container,
body .page-content .euroclean-dashboard-container {
    width: 95% !important;
    max-width: 1600px !important;
}

.euroclean-dashboard-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Section Cards - Grouped Layout
   ============================================ */
.euroclean-section-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
    padding: 30px;
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.euroclean-section-header {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    border-bottom: 2px solid #D97706;
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.euroclean-section-header svg {
    width: 24px;
    height: 24px;
    color: #D97706;
    flex-shrink: 0;
    display: block;
}

.euroclean-section-content {
    width: 100%;
}

/* Override dashboard wrapper inside section cards - Remove completely */
.euroclean-section-card .euroclean-dashboard-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure tables inside cards use full width */
.euroclean-section-card .euroclean-table-responsive,
.euroclean-section-card .euroclean-visits-table-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

.euroclean-section-card .euroclean-visits-table {
    width: 100% !important;
}

/* Calendar inside section card */
.euroclean-section-card .euroclean-calendar-wrapper {
    width: 100% !important;
}

/* Remove card padding and styling inside section cards */
.euroclean-section-card .euroclean-card {
    margin-bottom: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Hide nested card headers inside section cards */
.euroclean-section-card .euroclean-card .card-header,
.euroclean-section-card .modern-form-header,
.euroclean-section-card .card-header {
    display: none !important;
}

/* Form content wrapper inside section card */
.euroclean-section-card .form-content-wrapper {
    padding: 0 !important;
}

/* Calendar card header inside section card */
.euroclean-section-card .euroclean-calendar-card .card-header {
    display: none !important;
}

/* ============================================
   Admin Dashboard - Modern Design
   ============================================ */
.euroclean-admin-header-frontend {
    background: linear-gradient(-45deg, #0F172A, #1E3A8A, #0F172A, #334155);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 24px 0 32px 0;
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.3);
    position: relative;
    overflow: hidden;
}

.euroclean-admin-header-frontend::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.euroclean-admin-header-frontend .admin-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.euroclean-admin-header-frontend .admin-page-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.euroclean-admin-header-frontend .admin-page-title svg {
    color: #E2E8F0;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.euroclean-admin-header-frontend .admin-subtitle {
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.9);
    margin: 0;
    font-weight: 500;
}

.euroclean-admin-grid-frontend {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ============================================
   Modern Tab System - Enhanced
   ============================================ */
.admin-tabs-nav {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem 0 1.5rem;
    border-bottom: 2px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 16px 16px 0 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.admin-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #64748B;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-bottom: -2px;
    font-family: 'Inter', sans-serif;
    border-radius: 10px 10px 0 0;
}

.admin-tab-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #64748B;
    transition: all 0.3s ease;
}

.admin-tab-btn:hover {
    color: #D97706;
    background: rgba(217, 119, 6, 0.08);
}

.admin-tab-btn:hover svg {
    color: #D97706;
    transform: scale(1.1);
}

.admin-tab-btn.active {
    color: #D97706;
    border-bottom-color: #D97706;
    background: #ffffff;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.admin-tab-btn.active svg {
    color: #D97706;
}

.admin-tabs-content {
    position: relative;
}

.admin-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.admin-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header-modern {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #E2E8F0;
    background: linear-gradient(to bottom, #F8FAFC 0%, #ffffff 100%);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
}

.card-header-modern.card-header-left {
    justify-content: flex-start;
}

.card-body-modern {
    padding: 1.75rem;
    background: #ffffff;
}

/* Admin Table Styles - Now unified with .euroclean-table-responsive above */

.euroclean-admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    table-layout: auto;
}

.euroclean-admin-table thead {
    background: #F8FAFC;
}

.euroclean-admin-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.78rem;
    color: #0F172A;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    border-bottom: 1px solid #e2e8f0;
    background: #F8FAFC;
}

.euroclean-admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
    vertical-align: middle;
    color: #1E293B;
    background: #ffffff;
}

.euroclean-admin-table th:nth-child(4),
.euroclean-admin-table th:nth-child(5),
.euroclean-admin-table td:nth-child(4),
.euroclean-admin-table td:nth-child(5) {
    white-space: nowrap;
}

.euroclean-admin-table tbody tr {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.euroclean-admin-table tbody tr:nth-child(even) {
    background: #FCFDFE;
}

.euroclean-admin-table tbody tr:hover {
    background: #F8FAFC;
    box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.15);
}

.euroclean-admin-table td strong {
    color: #334155;
    font-weight: 600;
}

.admin-actions-cell {
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.admin-actions-cell .btn-action,
.actions-cell .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #0F172A;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 6px;
}

.admin-actions-cell .btn-action svg,
.actions-cell .btn-action svg {
    width: 14px !important;
    height: 14px !important;
    display: block;
    flex-shrink: 0;
}

/* Genel SVG icon kuralları */
svg {
    display: inline-block;
    vertical-align: middle;
}

/* Form section header iconları */
.form-section-header svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

/* Form label iconları */
.form-label svg,
.modern-label svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

/* Form help text iconları */
.form-help-text svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
}

/* Project/Reason card checkbox iconları */
.project-checkbox-indicator svg,
.reason-checkbox-indicator svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

/* Submit button iconları */
.modern-submit-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

/* Tab button iconları */
.admin-tab-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

.admin-actions-cell .btn-action:hover,
.actions-cell .btn-action:hover {
    background: #FFF7ED;
    border-color: #D97706;
    color: #0F172A;
}

.admin-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: transparent;
    border: 1.5px solid #D1D5DB;
    color: #6B7280;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 0.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.admin-action-btn svg {
    pointer-events: none;
}

.admin-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.admin-edit-btn:hover {
    background: #D97706;
    border-color: #D97706;
    color: #ffffff;
}

.admin-view-btn:hover {
    background: #10B981;
    border-color: #10B981;
    color: #ffffff;
}

.admin-delete-btn:hover {
    background: #EF4444;
    border-color: #EF4444;
    color: #ffffff;
}

.admin-notes-cell {
    max-width: 200px;
}

.admin-notes-preview {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: help;
}

.admin-table-info {
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 1rem;
    margin-top: 0;
}

.showing-info-admin {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
}

.admin-pagination-wrapper {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #E5E7EB;
}

.admin-pagination-wrapper .page-numbers {
    display: flex;
    gap: 0.625rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.admin-pagination-wrapper .page-numbers li {
    margin: 0;
}

.admin-pagination-wrapper .page-numbers a,
.admin-pagination-wrapper .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.875rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-pagination-wrapper .page-numbers a:hover {
    background: #0F172A;
    border-color: #D97706;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.2);
}

.admin-pagination-wrapper .page-numbers .current {
    background: #0F172A;
    border-color: #D97706;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.2);
}

.admin-empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: #6B7280;
}

.admin-empty-state svg {
    color: #D1D5DB;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.admin-empty-state p {
    font-size: 1.125rem;
    margin: 0;
    font-weight: 500;
}

.admin-quick-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-quick-links li {
    margin: 0;
}

.admin-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-link:hover {
    background: linear-gradient(-45deg, #0F172A, #1E3A8A, #0F172A, #334155);
    border-color: #D97706;
    color: #ffffff;
    transform: translateX(6px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.admin-link svg {
    flex-shrink: 0;
    color: #6B7280;
    transition: all 0.3s ease;
}

.admin-link:hover svg {
    color: #ffffff;
    transform: scale(1.1);
}

.euroclean-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.euroclean-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.modern-form-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-content-wrapper {
    padding: 40px;
}

@media (max-width: 768px) {
    .form-content-wrapper {
        padding: 20px;
    }
}

.card-header {
    padding: 1.5rem;
    border-bottom: none;
    color: #ffffff;
    background: linear-gradient(-45deg, #0F172A, #1E3A8A, #0F172A, #334155);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    border-radius: 12px 12px 0 0;
}

.modern-form-header {
    background: linear-gradient(-45deg, #0F172A, #1E3A8A, #0F172A, #334155);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    color: #ffffff;
    padding: 2rem;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
    border-radius: 12px 12px 0 0;
}

.modern-form-header .card-title {
    color: #ffffff;
    font-weight: 700;
}

.modern-form-header .card-subtitle {
    color: #ffffff;
    opacity: 0.9;
}

.header-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(217, 119, 6, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-icon-wrapper svg {
    color: #D97706;
}

.header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    color: #0F172A;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
    font-weight: 500;
}

.card-content {
    padding: 1.5rem;
}

/* ============================================
   Form Styles
   ============================================ */
.euroclean-form {
    padding: 0;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #D97706;
    font-weight: 600;
    font-size: 1rem;
    color: #0F172A;
    letter-spacing: 0.01em;
}

.form-section-header svg {
    color: #D97706;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
    letter-spacing: 0.025em;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #334155;
    margin-bottom: 0.75rem;
}

.modern-label svg {
    color: #F59E0B;
    flex-shrink: 0;
}

.input-wrapper {
    position: relative;
}

.date-action-buttons {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.clear-dates-btn {
    background: #64748B;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-dates-btn:hover {
    background: #475569;
}

.today-btn {
    background: #D97706;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(217, 119, 6, 0.2);
}

.today-btn:hover {
    background: #B45309;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(217, 119, 6, 0.3);
}

.today-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(217, 119, 6, 0.2);
}

.select-wrapper {
    position: relative;
}

.select-wrapper .select-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6B7280;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    width: 20px;
    height: 20px;
}

.select-wrapper:hover .select-arrow {
    color: #D97706;
}

.select-wrapper:focus-within .select-arrow {
    color: #D97706;
}

.modern-select {
    height: 48px;
    padding-right: 50px !important;
    cursor: pointer;
    background-image: none !important;
    background-color: #F9FAFB !important;
    border-radius: 8px;
}

.modern-select:hover {
    background-color: #ffffff !important;
}

.modern-select:focus {
    cursor: pointer;
    background-color: #ffffff !important;
}

.modern-select option {
    padding: 12px 16px;
    background: #ffffff;
    color: #1A1A1A;
    font-size: 0.9375rem;
}

.modern-select option:checked {
    background: #D97706;
    color: #ffffff;
}

select.modern-select::-ms-expand {
    display: none;
}

select.modern-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-label-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.form-label-info .required {
    color: #ef4444;
    font-weight: 600;
}

/* ============================================
   Input Styles - Unified 48px Height, 8px Radius
   ============================================ */
.form-control,
input[type="text"],
input[type="date"],
input[type="email"],
input[type="number"],
select,
.modern-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #111827;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
    box-sizing: border-box;
}

.modern-input {
    background: #F9FAFB;
    border: 2px solid #e5e7eb;
}

.modern-input:hover {
    border-color: #D4AF37;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.1);
}

.modern-input:focus,
.form-control:focus,
input[type="text"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: #D4AF37;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.modern-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-help-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #6B7280;
}

.form-help-text svg {
    flex-shrink: 0;
    color: #D97706;
}

/* ============================================
   Reason Cards (Modern Selectable Cards)
   ============================================ */
.reason-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.reason-card {
    position: relative;
    display: block;
    cursor: pointer;
    user-select: none;
}

.reason-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.reason-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.85rem 1rem 0.85rem 1.1rem;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 72px;
    position: relative;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.05);
}

.reason-card-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: #e5e7eb;
    transition: background 0.2s ease;
}

.reason-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    padding-bottom: 0.55rem;
}

.reason-card-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 1px dashed #e2e8f0;
}

.reason-checkbox-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #d1d5db;
    border-radius: 7px;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    color: transparent;
}

.reason-checkbox-indicator svg {
    width: 14px;
    height: 14px;
}

.reason-card-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0F172A;
    line-height: 1.4;
    flex: 1;
}

.reason-card-description {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
    padding-left: 2.1rem;
    margin-top: 0.15rem;
}

/* Hover State */
.reason-card:hover .reason-card-content {
    border-color: #cbd5e1;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.reason-card:hover .reason-checkbox-indicator {
    border-color: #94a3b8;
}

.reason-card:hover .reason-card-content::before {
    background: #94a3b8;
}

/* Checked State */
.reason-checkbox:checked + .reason-card-content {
    background-color: #f1f5f9;
    border-color: #0F172A;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.reason-checkbox:checked + .reason-card-content::before {
    background: #0F172A;
}

.reason-checkbox:checked + .reason-card-content .reason-checkbox-indicator {
    background-color: #0F172A;
    border-color: #0F172A;
    color: #ffffff;
}

.reason-checkbox:checked + .reason-card-content .reason-card-title {
    color: #0F172A;
}

.reason-checkbox:checked + .reason-card-content .reason-card-description {
    color: #334155;
}

/* Focus State */
.reason-checkbox:focus + .reason-card-content {
    outline: 2px solid #0F172A;
    outline-offset: 2px;
}

/* Project Search - Modern Minimalist Style */
.project-search-wrapper {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.project-search-input-wrapper {
    position: relative;
    display: block;
}

.project-search-input-wrapper svg.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.project-search-input {
    width: 100%;
    height: 48px;
    padding-left: 45px !important;
    padding-right: 2.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: #1f2937;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
    line-height: 1.5;
}

.project-search-input:focus {
    border-color: #D97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.project-search-input::placeholder {
    color: #9ca3af;
}

.project-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    z-index: 2;
    padding: 0;
}

.project-search-clear:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.project-search-results-info {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
}

.project-search-results-info #project-search-count {
    color: #D97706;
    font-weight: 600;
}

.selected-projects-wrapper {
    margin-top: 0.75rem;
    padding: 0.6rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.selected-projects-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.4rem;
}

.selected-projects-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.selected-project-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.5rem;
    background: #ffffff;
    border: 1px solid #cbd5f5;
    border-radius: 999px;
    font-size: 0.75rem;
    color: #1f2937;
}

.selected-project-chip .chip-text {
    white-space: nowrap;
}

.selected-project-chip .chip-remove {
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}

.selected-project-chip .chip-remove:hover {
    color: #ef4444;
}

.project-search-debug {
    margin-top: 10px;
    padding: 10px;
    background: #f9fafb;
    border: 1px dashed #cbd5f5;
    border-radius: 6px;
    font-size: 12px;
    color: #475569;
    line-height: 1.4;
}

/* Project Cards - Modern Minimalist Style */
.project-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.6rem;
    margin-top: 0.75rem;
}

/* Compact Edit Form Styles */
.euroclean-form-wrapper .project-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
}

.euroclean-form-wrapper .project-card-content {
    padding: 0.5rem;
    min-height: 40px;
}

.euroclean-form-wrapper .project-card-title {
    font-size: 0.8rem;
}

/* Edit Modal - Minimalist Form Controls */
#euroclean-edit-modal .reason-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.6rem;
}

#euroclean-edit-modal .reason-card-content {
    padding: 0.85rem 0.9rem;
    min-height: 64px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

#euroclean-edit-modal .reason-card-title {
    font-size: 0.85rem;
}

#euroclean-edit-modal .reason-card-description {
    font-size: 0.75rem;
    padding-left: 1.8rem;
}

#euroclean-edit-modal .form-row {
    gap: 1rem;
}

#euroclean-edit-modal input[type="date"] {
    height: 40px;
    font-size: 0.9rem;
}

#euroclean-edit-modal #edit_visit_notes {
    min-height: 110px;
    font-size: 0.9rem;
}

.project-card {
    position: relative;
    display: block;
    cursor: pointer;
    user-select: none;
}

.project-card.hidden {
    display: none;
}

.project-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.project-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.7rem 0.85rem;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 56px;
    position: relative;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.05);
}

.project-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.project-card-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 1px dashed #e2e8f0;
}

.project-checkbox-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    color: transparent;
}

.project-checkbox-indicator svg {
    width: 12px;
    height: 12px;
}

.project-card-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
    line-height: 1.4;
    flex: 1;
    word-wrap: break-word;
    word-break: break-word;
}

#child_projects_wrapper {
    display: none;
}

.child-projects-inline {
    margin-top: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: #fff7ed;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #D97706;
    border-top: 1px dashed #f2c37a;
    border-radius: 8px;
    display: none;
}

.child-projects-inline-list {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.5rem;
    border-left: 2px solid #D97706;
    padding-left: 0.75rem;
}

.child-projects-inline-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: #D97706;
    letter-spacing: 0.02em;
}

/* Hover State */
.project-card:hover .project-card-content {
    border-color: #cbd5e1;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.project-card:hover .project-checkbox-indicator {
    border-color: #94a3b8;
}

/* Checked State */
.project-checkbox:checked + .project-card-content {
    background-color: #f1f5f9;
    border-color: #0F172A;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.project-checkbox:checked + .project-card-content .project-checkbox-indicator {
    background-color: #0F172A;
    border-color: #0F172A;
    color: #ffffff;
}

.project-checkbox:checked + .project-card-content .project-card-title {
    color: #0F172A;
}

/* Focus State */
.project-checkbox:focus + .project-card-content {
    outline: 2px solid #0F172A;
    outline-offset: 2px;
}

/* Child Projects Cards - Modern Minimalist Style */
.child-projects-container {
    margin-top: 0.75rem;
}

.child-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.child-project-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem;
    display: grid;
    gap: 0.5rem;
}

.child-project-group-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}

.child-project-card {
    position: relative;
    display: block;
    cursor: pointer;
    user-select: none;
}

.child-project-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.child-project-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 60px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.child-project-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.child-project-checkbox-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    background-color: #ffffff;
    transition: all 0.2s ease;
    color: transparent;
}

.child-project-checkbox-indicator svg {
    width: 12px;
    height: 12px;
}

.child-project-card-title {
    font-weight: 500;
    font-size: 0.875rem;
    color: #1f2937;
    line-height: 1.4;
    flex: 1;
    word-wrap: break-word;
}

/* Hover State */
.child-project-card:hover .child-project-card-content {
    border-color: #D97706;
    background-color: #fff8ec;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12);
    transform: translateY(-2px);
}

.child-project-card:hover .child-project-checkbox-indicator {
    border-color: #D97706;
}

/* Checked State */
.child-project-input:checked + .child-project-card-content {
    background-color: #fff3d6;
    border-color: #D97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.child-project-input:checked + .child-project-card-content .child-project-checkbox-indicator {
    background-color: #D97706;
    border-color: #D97706;
    color: #ffffff;
}

.child-project-input:checked + .child-project-card-content .child-project-card-title {
    color: #0F172A;
    font-weight: 600;
}

/* Focus State */
.child-project-input:focus + .child-project-card-content {
    outline: 2px solid #D97706;
    outline-offset: 2px;
}

/* Submit Button - High-End Corporate Style */
.modern-submit-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 16px 32px;
    background: #0F172A;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    visibility: visible !important;
    opacity: 1 !important;
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.modern-submit-btn:hover::before {
    left: 100%;
}

.modern-submit-btn:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.modern-submit-btn:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.modern-submit-btn:active {
    transform: translateY(0);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #EF4444;
}

/* ============================================
   Wizard Form Styles
   ============================================ */
.wizard-form {
    position: relative;
}

.wizard-progress {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E5E7EB;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.wizard-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.wizard-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: #E5E7EB;
    z-index: 1;
}

.wizard-step.active:not(:last-child)::after,
.wizard-step.completed:not(:last-child)::after {
    background: #D97706;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F3F4F6;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.wizard-step.active .step-number {
    background: #D97706;
    border-color: #D97706;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.wizard-step.completed .step-number {
    background: #10B981;
    border-color: #10B981;
    color: #ffffff;
}

.wizard-step.completed .step-number::after {
    content: '✓';
    font-size: 1.2rem;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wizard-step.active .step-label {
    color: #D97706;
}

.wizard-step.completed .step-label {
    color: #10B981;
}

.wizard-progress-bar {
    width: 100%;
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D97706 0%, #F59E0B 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Form Actions - Submit Button Container */
.form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #E5E7EB;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    clear: both;
}

.form-actions button.modern-submit-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
        justify-content: stretch;
    }
    
    .form-actions .modern-submit-btn {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #E5E7EB;
    gap: 1rem;
}

.wizard-navigation button {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wizard-btn {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid #E5E7EB;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.wizard-btn:hover {
    border-color: #D97706;
    color: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(197, 160, 89, 0.2);
}

.wizard-btn-next {
    margin-left: auto;
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    border-color: #D97706;
    color: #ffffff;
}

.wizard-btn-next:hover {
    background: linear-gradient(135deg, #B8904F 0%, #C99A1F 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(197, 160, 89, 0.3);
}

.wizard-btn-submit {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    border-color: #D97706;
    color: #ffffff;
    display: none;
}

.wizard-btn-submit:hover {
    background: linear-gradient(135deg, #B8904F 0%, #C99A1F 100%);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .reason-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .wizard-steps {
        gap: 0.5rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .step-label {
        font-size: 0.625rem;
    }
    
    .wizard-step:not(:last-child)::after {
        left: 55%;
        width: 90%;
    }
    
    .wizard-navigation {
        flex-direction: column;
    }
    
    .wizard-btn {
        width: 100%;
    }
    
    .wizard-btn-next {
        margin-left: 0;
    }
    
    .project-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .child-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .child-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Calendar Styles - Modern & Clean
   ============================================ */
.euroclean-calendar-wrapper {
    padding: 1rem 0;
}

.euroclean-calendar-card {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.euroclean-calendar-card .card-header {
    background: linear-gradient(-45deg, #0F172A, #1E3A8A, #0F172A, #334155);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    color: #ffffff;
    padding: 2rem;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.euroclean-calendar-card .card-title {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.euroclean-calendar-card .card-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* FullCalendar Modern Overrides */
.fc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.fc-header-toolbar {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(-45deg, #0F172A, #1E3A8A, #0F172A, #334155);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.fc-toolbar-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.fc-button {
    background: rgba(15, 23, 42, 0.9) !important;
    border: 2px solid rgba(217, 119, 6, 0.5) !important;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.fc-button:hover {
    background: #D97706 !important;
    border-color: #D97706 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.fc-button:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
}

.fc-button-active {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.fc-col-header-cell {
    background: #F8FAFC !important;
    border-bottom: 2px solid #E2E8F0 !important;
    padding: 1rem 0;
    font-weight: 700;
    text-transform: uppercase;
    color: #0F172A !important;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    position: sticky;
    top: 0;
    z-index: 10;
}

.fc-daygrid-day {
    background: #ffffff;
    border: 1px solid #E2E8F0 !important;
    height: auto !important;
    min-height: 140px !important;
    transition: all 0.2s ease;
}

.fc-daygrid-day:hover {
    background: #F8FAFC !important;
}

.fc-daygrid-day-frame {
    min-height: 140px !important;
    padding: 10px !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
}

.fc-daygrid-day-top {
    margin-bottom: 8px;
}

.fc-daygrid-day-events {
    margin-top: 0 !important;
    flex: 1;
}

.fc-daygrid-event-harness {
    margin-bottom: 6px !important;
    position: relative !important;
}

.fc-daygrid-day-row {
    height: auto !important;
}

.fc-scrollgrid-sync-table {
    height: auto !important;
}

.fc-daygrid-day.fc-day-today {
    background: linear-gradient(135deg, #FFF7ED 0%, #FDE68A 100%) !important;
    border: 2px solid #D97706 !important;
}

.fc-daygrid-day-weekend {
    background-color: #F1F5F9 !important;
}

/* --- Sticky Calendar Header Logic --- */
.fc-header-toolbar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 10px !important;
    z-index: 50 !important;
    background: linear-gradient(-45deg, #0F172A, #1E3A8A, #0F172A, #334155) !important;
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding: 1rem !important;
    transition: all 0.3s ease;
}

.fc-scrollgrid-section-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 85px !important;
    z-index: 49 !important;
    background: #ffffff !important;
}

.fc-col-header-cell {
    background-color: #ffffff !important;
    border-bottom: 3px solid #D97706 !important;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    padding: 10px 0 !important;
}

.fc-daygrid-day-weekend .fc-daygrid-day-frame {
    background-image: linear-gradient(45deg, #F8FAFC 25%, transparent 25%, transparent 50%, #F8FAFC 50%, #F8FAFC 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    background-color: #F1F5F9;
}

/* --- 1. CRITICAL: Unblock Sticky Behavior --- */
.euroclean-calendar-card,
.euroclean-section-card {
    overflow: visible !important;
}

/* --- 2. Sticky Toolbar (Month/Year) --- */
#euroclean-calendar-wrapper .fc-header-toolbar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 10px !important;
    z-index: 50 !important;
    background: linear-gradient(-45deg, #0F172A, #1E3A8A, #0F172A, #334155) !important;
    margin-bottom: 0 !important;
    padding: 1rem !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border-radius: 12px 12px 0 0 !important;
}

/* --- 3. Sticky Days Row (Pzt, Sal...) --- */
#euroclean-calendar-wrapper .fc-col-header-cell {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 85px !important;
    z-index: 49 !important;
    background-color: #F8FAFC !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-bottom: 3px solid #D97706 !important;
}

.fc-scrollgrid-sync-table,
.fc-daygrid-body {
    z-index: 1 !important;
}

/* --- 4. Weekend Styling (Soft & Distinct) --- */
#euroclean-calendar-wrapper .fc-daygrid-day-weekend {
    background-color: #F1F5F9 !important;
}

#euroclean-calendar-wrapper .fc-daygrid-day-weekend .fc-daygrid-day-frame {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.5) 10px,
        rgba(255,255,255,0.5) 20px
    );
}

.fc-daygrid-day:last-child {
    border-right: 1px solid #E2E8F0 !important;
}

.fc-daygrid-day-number {
    color: #475569;
    font-weight: 600;
    padding: 0.5rem;
    font-size: 0.875rem;
}

.fc-day-today .fc-daygrid-day-number {
    background: linear-gradient(135deg, #0F172A 0%, #D97706 100%);
    color: #ffffff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.25rem;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.25);
    font-weight: 700;
}

/* ============================================
   Calendar Event Cards - Simple Block Layout
   ============================================ */
.fc-event {
    display: block !important;
    background-color: #ffffff !important;
    border: none !important;
    border-left: 4px solid #F59E0B !important;
    color: #334155;
    padding: 8px !important;
    margin-bottom: 4px !important;
    border-radius: 0 6px 6px 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: normal !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.fc-event:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left-width: 5px !important;
}

.fc-event-main {
    display: block !important;
    white-space: normal !important;
}

.fc-event-title {
    display: none !important;
}

.fc-event-time {
    display: none !important;
}

/* Event Content - Modern Rich Card */
.fc-modern-event {
    display: flex;
    flex-direction: column;
    gap: 6px;
    white-space: normal !important;
}

.fc-event-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fc-event-row.project {
    padding-top: 6px;
    margin-top: 2px;
    border-top: 1px dashed #e2e8f0;
}

.fc-project-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fc-project-line {
    font-weight: 500;
    color: #475569;
    font-size: 12px;
    line-height: 1.4;
    word-break: break-word;
}

.fc-project-divider {
    color: #cbd5e1;
    font-weight: 700;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 1px;
}

.fc-event-row.reasons {
    display: none;
}

.fc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #D97706;
}


.fc-text-bold {
    font-weight: 700;
    color: #0F172A;
    font-size: 13px;
    line-height: 1.4;
}

.fc-text-truncate {
    font-weight: 500;
    color: #475569;
    font-size: 12px;
    line-height: 1.4;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    word-break: break-word;
}

.fc-event-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 999px;
    background: #F1F5F9;
    color: #334155;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.fc-event-badge.more {
    background: #0F172A;
    color: #ffffff;
}

/* Calendar Scrollable Header */
.fc-scroller {
    overflow-y: auto !important;
}

.fc-scrollgrid-section-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #F8FAFC;
}

.fc-daygrid-body {
    overflow: visible;
}

/* Event Harness Fix - Prevent Overlapping */
.fc-daygrid-event-harness {
    position: relative !important;
    display: block !important;
    margin-bottom: 6px !important;
}

.fc-daygrid-event-harness + .fc-daygrid-event-harness {
    margin-top: 0 !important;
}

.fc-daygrid-day-bottom {
    margin-top: 8px;
}

/* ============================================
   FIXED MODAL SYSTEM (Centered & Stable)
   ============================================ */
.euroclean-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.euroclean-modal.active {
    display: flex !important;
    animation: fadeIn 0.2s ease-out forwards;
}

.euroclean-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 0;
}

.euroclean-modal-content {
    position: relative;
    z-index: 1;
    background-color: #ffffff !important;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.euroclean-modal.active .euroclean-modal-content {
    transform: scale(1);
    opacity: 1;
}

.euroclean-modal-header {
    flex-shrink: 0;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.euroclean-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Calendar Events Modal - Modern Card Layout */
.euroclean-events-list {
    display: grid;
    gap: 0.9rem;
}

.euroclean-event-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.euroclean-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.event-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid #e2e8f0;
}

.event-card-body {
    display: grid;
    gap: 0.65rem;
}

.event-card-info,
.event-card-notes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.6rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.info-label-modern,
.event-label-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    white-space: nowrap;
}

.info-label-modern svg,
.event-label-modern svg {
    color: #D97706;
}

.event-value,
.notes-text {
    font-weight: 600;
    color: #0F172A;
    font-size: 0.9rem;
    text-align: right;
}

.notes-text {
    font-weight: 500;
}

.euroclean-modal-overlay {
    pointer-events: auto;
}

/* Visit Detail View - Grid Layout */
.visit-detail-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
}

/* Labels - Small, Uppercase, Light Grey */
.detail-row strong,
.detail-row .detail-label {
    color: #94A3B8;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

/* Icons - Gold Accent */
.detail-row strong svg,
.detail-row .detail-label svg {
    width: 14px;
    height: 14px;
    color: #D97706;
    flex-shrink: 0;
}

/* Values - Large, Dark Text */
.detail-row span,
.detail-row .detail-value {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Notes Content Area */
.notes-content {
    background: #F8FAFC;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    color: #111827;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    border-left: 2px solid #D97706;
    margin-top: 0.35rem;
}

/* Calendar Event Details Modal (keep for calendar events) */
.calendar-event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.calendar-event-modal.active {
    display: flex;
}

.calendar-event-modal-content {
    background: #ffffff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.calendar-event-modal-header {
    background: linear-gradient(135deg, #1A1A1A 0%, #2C3E50 100%);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-event-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.calendar-event-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.calendar-event-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.calendar-event-modal-body {
    padding: 1.5rem;
}

.event-detail-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid #E5E7EB;
    align-items: flex-start;
    gap: 1rem;
}

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

.event-detail-label {
    font-weight: 700;
    font-size: 0.875rem;
    color: #1A1A1A;
    min-width: 120px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.event-detail-value {
    flex: 1;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
}

/* ============================================
   All Visits Table - Responsive & Clean
   ============================================ */

/* Table Responsive Wrapper */
.euroclean-table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    margin-top: 1.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

/* Visits Table Base Styles */
.euroclean-visits-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    table-layout: auto;
    border-radius: 12px;
    overflow: hidden;
}

/* Table Header - Light Grey Background */
.euroclean-visits-table thead {
    background: #F8FAFC;
}

.euroclean-visits-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.78rem;
    color: #0F172A;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    border-bottom: 1px solid #e2e8f0;
    background: #F8FAFC;
}

/* Table Body Rows - White Background */
.euroclean-visits-table tbody tr {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.euroclean-visits-table tbody tr:nth-child(even) {
    background: #FCFDFE;
}

.euroclean-visits-table tbody tr:hover {
    background: #F8FAFC;
    box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.15);
}

.euroclean-visits-table tbody tr:last-child {
    border-bottom: none;
}

/* Table Cells */
.euroclean-visits-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
    vertical-align: middle;
    color: #1E293B;
    background: #ffffff;
}

.euroclean-visits-table tbody tr:last-child td {
    border-bottom: none;
}

/* Date Columns - No Wrap */
.euroclean-visits-table td:nth-child(3),
.euroclean-visits-table td:nth-child(4) {
    white-space: nowrap;
}

/* Project and Reason Columns - Min Width */
.euroclean-visits-table td:nth-child(2),
.euroclean-visits-table td:nth-child(5) {
    min-width: 200px;
    white-space: normal;
    word-wrap: break-word;
}

/* Legacy wrapper support */
.euroclean-visits-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    margin-top: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-edit,
.btn-delete,
.btn-view {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-edit {
    background: #D97706;
    color: #ffffff;
}

.btn-edit:hover {
    background: #B8904F;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(197, 160, 89, 0.3);
}

.btn-delete {
    background: #EF4444;
    color: #ffffff;
}

.btn-delete:hover {
    background: #DC2626;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.btn-view {
    background: #6B7280;
    color: #ffffff;
}

.btn-view:hover {
    background: #4B5563;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.3);
}

.disabled-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #F3F4F6;
    color: #6B7280;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Pagination */
.euroclean-pagination-wrapper {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.euroclean-pagination-wrapper .page-numbers {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.euroclean-pagination-wrapper .page-numbers li {
    margin: 0;
}

.euroclean-pagination-wrapper .page-numbers a,
.euroclean-pagination-wrapper .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #ffffff;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    color: #1A1A1A;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.euroclean-pagination-wrapper .page-numbers a:hover {
    border-color: #D97706;
    color: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(197, 160, 89, 0.2);
}

.euroclean-pagination-wrapper .page-numbers .current {
    background: #0F172A;
    border-color: #D97706;
    color: #ffffff;
    font-weight: 700;
}

/* Table Controls */
.euroclean-table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 8px;
}

.per-page-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.per-page-selector label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A1A1A;
}

.per-page-select {
    padding: 6px 12px;
    border: 2px solid #E5E7EB;
    border-radius: 6px;
    background: #ffffff;
    font-size: 0.875rem;
    cursor: pointer;
}

.table-info {
    font-size: 0.875rem;
    color: #6B7280;
}

.showing-info {
    font-weight: 600;
    color: #334155;
}

/* =========================================
   EVENT CARD - CLEAN MODERN CORPORATE
   ========================================= */
#euroclean-modal-events-list .euroclean-event-card-modern-horizontal {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#euroclean-modal-events-list .card-header-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
}

#euroclean-modal-events-list .user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0F172A;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

#euroclean-modal-events-list .user-info-horizontal {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#euroclean-modal-events-list .label-user {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94A3B8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#euroclean-modal-events-list .value-user {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0F172A;
}

#euroclean-modal-events-list .card-body-modern {
    padding: 12px 16px 16px;
    display: grid;
    gap: 8px;
}

#euroclean-modal-events-list .data-row-horizontal {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #ffffff;
}

#euroclean-modal-events-list .icon-wrapper {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #fff7ed;
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#euroclean-modal-events-list .data-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#euroclean-modal-events-list .data-label {
    font-size: 0.7rem;
    color: #94A3B8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#euroclean-modal-events-list .data-value {
    color: #0F172A;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}

#euroclean-modal-events-list .notes-section-modern {
    padding: 10px 12px;
    border-left: 2px solid #D97706;
    background: #f9fafb;
    border-radius: 0 8px 8px 0;
}

#euroclean-modal-events-list .notes-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
    font-weight: 600;
    margin-bottom: 2px;
}

#euroclean-modal-events-list .notes-value {
    margin: 0;
    color: #0F172A;
    font-size: 0.85rem;
    line-height: 1.5;
}


/* Advanced reports */
.euroclean-report-wrapper {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    display: grid;
    gap: 24px;
    border: 1px solid #e2e8f0;
}

.euroclean-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(217, 119, 6, 0.12));
    border-radius: 14px;
    padding: 18px 20px;
}

.euroclean-report-header h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #0f172a;
}

.report-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.euroclean-report-header p {
    margin: 6px 0 0;
    color: #64748b;
}

.euroclean-report-actions button {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.euroclean-report-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: none;
}

.report-meta-item {
    display: grid;
    gap: 6px;
}

.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    font-weight: 700;
}

.meta-value {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 600;
}

.euroclean-report-filters {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

.report-filter-item label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.report-filter-item input,
.report-filter-item select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #cbd5f5;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.report-filter-item input:focus,
.report-filter-item select:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
    outline: none;
}

.report-filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.report-apply-btn,
.report-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.report-apply-btn {
    background: #d97706;
    color: #fff;
}

.report-reset-btn {
    background: #e2e8f0;
    color: #0f172a;
}

.euroclean-report-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.report-summary-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    display: grid;
    gap: 6px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.report-card-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.report-card-value {
    font-size: 1.4rem;
    color: #0f172a;
    font-weight: 700;
}

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

.report-block {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.report-block h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.1rem;
}

.report-full-width {
    grid-column: 1 / -1;
}

.euroclean-report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.euroclean-report-table thead th {
    text-align: left;
    padding: 10px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
}

.euroclean-report-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
}

.euroclean-report-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.euroclean-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
    text-decoration: none;
}

.euroclean-export-btn:hover {
    opacity: 0.92;
}

.card-header-modern.card-header-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.euroclean-admin-header-frontend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media print {
    body.euroclean-print-mode * {
        visibility: hidden;
    }

    body.euroclean-print-mode .euroclean-advanced-report,
    body.euroclean-print-mode .euroclean-advanced-report * {
        visibility: visible;
    }

    html,
    body.euroclean-print-mode {
        height: auto;
    }

    body.euroclean-print-mode .euroclean-advanced-report {
        position: static;
        width: 100%;
        padding: 0;
        background: #fff;
    }

    body.euroclean-print-mode .euroclean-report-actions,
    body.euroclean-print-mode .euroclean-report-filters,
    body.euroclean-print-mode .report-reset-btn,
    body.euroclean-print-mode .report-apply-btn {
        display: none !important;
    }

    body.euroclean-print-mode .euroclean-report-wrapper {
        box-shadow: none;
        border: none;
    }

    body.euroclean-print-mode .euroclean-report-meta {
        display: grid;
    }

    body.euroclean-print-mode .euroclean-report-summary,
    body.euroclean-print-mode .report-summary-card,
    body.euroclean-print-mode .report-block,
    body.euroclean-print-mode .euroclean-report-meta,
    body.euroclean-print-mode .report-meta-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    body.euroclean-print-mode table {
        width: 100%;
        border-collapse: collapse;
        page-break-inside: auto;
    }

    body.euroclean-print-mode thead {
        display: table-header-group;
    }

    body.euroclean-print-mode tr {
        page-break-inside: avoid;
        break-inside: avoid;
        page-break-after: auto;
    }

    body.euroclean-print-mode td,
    body.euroclean-print-mode th {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    body.euroclean-print-mode h1,
    body.euroclean-print-mode h2,
    body.euroclean-print-mode h3,
    body.euroclean-print-mode p {
        page-break-after: avoid;
        break-after: avoid;
        orphans: 3;
        widows: 3;
    }
}



