:root {
    --vfe-primary: #1a2b3c;
    --vfe-primary-dark: #0f172a;
    --vfe-primary-accent: #2563eb;
    --vfe-secondary: #16a34a;
    --vfe-danger: #dc2626;
    --vfe-warning: #d97706;
    --vfe-info: #2563eb;

    --vfe-bg: #f1f5f9;
    --vfe-surface: #ffffff;
    --vfe-border: #e2e8f0;

    --vfe-text-primary: #0f172a;
    --vfe-text-secondary: #475569;
    --vfe-text-muted: #94a3b8;

    --vfe-radius: 10px;
    --vfe-radius-sm: 8px;
    --vfe-radius-lg: 12px;

    --vfe-shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
    --vfe-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    --vfe-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.10);

    --vfe-sidebar-width: 260px;
    --vfe-sidebar-bg: #1a2b3c;
    --vfe-sidebar-hover: rgba(255,255,255,0.08);
    --vfe-sidebar-active: rgba(255,255,255,0.14);
    --vfe-sidebar-text: rgba(255,255,255,0.75);
    --vfe-sidebar-text-active: #ffffff;
}

* {
    box-sizing: border-box;
}

.vfe-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--vfe-text-primary);
    line-height: 1.6;
}

/* Layout */
/* Layout */
.vfe-wrapper {
    display: flex;
    align-items: flex-start;
    background: var(--vfe-bg);
    border-radius: var(--vfe-radius);
    box-shadow: var(--vfe-shadow);
    /* overflow:hidden entfernt — wuerde sticky brechen */
    position: relative;
    border: 1px solid var(--vfe-border);
    margin: 40px auto;
    max-width: 1800px;
    width: 98%;
}

.vfe-sidebar {
    width: var(--vfe-sidebar-width);
    background: var(--vfe-sidebar-bg);
    border-right: none;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    /* Klebt an der Seite beim Scrollen */
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    /* Linke Ecken abrunden (ersetzt overflow:hidden am Wrapper) */
    border-radius: var(--vfe-radius) 0 0 var(--vfe-radius);
}

.vfe-logo {
    padding: 22px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vfe-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    color: #ffffff;
    flex-shrink: 0;
}

.vfe-logo-text {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.vfe-nav {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}

.vfe-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    margin-bottom: 2px;
    border-radius: var(--vfe-radius-sm);
    color: var(--vfe-sidebar-text);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 14px;
    gap: 12px;
}

.vfe-nav-item:hover {
    background: var(--vfe-sidebar-hover);
    color: var(--vfe-sidebar-text-active);
}

.vfe-nav-item.router-link-active {
    background: var(--vfe-sidebar-active);
    color: var(--vfe-sidebar-text-active);
    font-weight: 600;
}

.vfe-profile-link {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--vfe-sidebar-text) !important;
}


.vfe-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.vfe-nav-label {
    font-size: 14px;
}

.vfe-sidebar-footer {
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.vfe-version-label {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    padding: 0 14px 6px;
}

.vfe-logout-item {
    color: rgba(255,255,255,0.55) !important;
}

.vfe-logout-item:hover {
    color: #fff !important;
    background: rgba(220, 38, 38, 0.25);
}

.vfe-main {
    flex: 1;
    margin-left: 0;
    padding: 36px 40px;
    background: var(--vfe-bg);
    min-width: 0;
    /* Rechte Ecken abrunden */
    border-radius: 0 var(--vfe-radius) var(--vfe-radius) 0;
    min-height: 100vh;
}

/* Limit content width inside main area */
.vfe-main>* {
    max-width: 1600px;
    /* Very wide content */
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.vfe-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.vfe-page-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--vfe-text-primary);
}

/* Buttons */
.vfe-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--vfe-radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.vfe-btn-primary {
    background: var(--vfe-primary);
    color: white;
    box-shadow: none;
}

.vfe-btn-primary:hover {
    background: var(--vfe-primary-dark);
    box-shadow: var(--vfe-shadow);
}

.vfe-btn-secondary {
    background: var(--vfe-surface);
    color: var(--vfe-text-primary);
    border: 1.5px solid var(--vfe-border);
}

.vfe-btn-secondary:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: var(--vfe-text-primary);
}

.vfe-btn-danger {
    background: var(--vfe-danger);
    color: white;
}

.vfe-btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Stats Grid */
.vfe-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.vfe-stat-card {
    background: var(--vfe-surface);
    border-radius: var(--vfe-radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--vfe-shadow-sm);
    border: 1px solid var(--vfe-border);
    transition: box-shadow 0.2s ease;
}

.vfe-stat-card:hover {
    box-shadow: var(--vfe-shadow-lg);
}

.vfe-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--vfe-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vfe-stat-icon--property {
    background: #eff6ff;
    color: #2563eb;
}

.vfe-stat-icon--bookings {
    background: #f0fdf4;
    color: #16a34a;
}

.vfe-stat-icon--pending {
    background: #fffbeb;
    color: #d97706;
}

.vfe-stat-icon--inquiries {
    background: #eff6ff;
    color: #2563eb;
}

.vfe-stat-icon--revenue {
    background: #f1f5f9;
    color: #1a2b3c;
}

.vfe-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--vfe-text-primary);
    line-height: 1;
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

.vfe-stat-value.is-loading {
    color: transparent !important;
    background: #e2e8f0;
    border-radius: 8px;
    min-width: 40px;
    height: 36px;
    display: inline-block;
    animation: vfe-pulse 1.5s infinite;
}

@keyframes vfe-pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.vfe-stat-label {
    font-size: 14px;
    color: var(--vfe-text-secondary);
    font-weight: 600;
}

/* Quick Actions */
.vfe-quick-actions {
    background: var(--vfe-surface);
    border-radius: var(--vfe-radius-lg);
    padding: 28px;
    box-shadow: var(--vfe-shadow);
    border: 1px solid var(--vfe-border);
}

.vfe-quick-actions h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--vfe-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
}

.vfe-action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Products Grid */
.vfe-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.vfe-product-card {
    background: var(--vfe-surface);
    border-radius: var(--vfe-radius-lg);
    overflow: hidden;
    box-shadow: var(--vfe-shadow);
    transition: all 0.3s ease;
}

.vfe-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vfe-shadow-lg);
}

.vfe-product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--vfe-bg);
    position: relative;
}

.vfe-product-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.vfe-product-status.status-publish {
    color: var(--vfe-secondary);
}

.vfe-product-status.status-draft {
    color: var(--vfe-warning);
}

.vfe-product-content {
    padding: 20px;
}

.vfe-product-content h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
}

.vfe-product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--vfe-primary);
    margin-bottom: 16px;
}

.vfe-product-actions {
    display: flex;
    gap: 8px;
}

.vfe-product-meta-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

/* Forms */
.vfe-form {
    background: var(--vfe-surface);
    border-radius: var(--vfe-radius-lg);
    padding: 32px;
    box-shadow: var(--vfe-shadow);
}

.vfe-form-section {
    margin-bottom: 40px;
}

.vfe-form-section h3 {
    margin: 0 0 24px 0;
    font-size: 20px;
    font-weight: 800;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--vfe-border);
}

.vfe-form-group {
    margin-bottom: 20px;
    min-width: 0;
    /* Prevents grid overflow */
}

.vfe-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--vfe-text-primary);
}

.vfe-input,
.vfe-textarea,
.vfe-select-single {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding: 10px 36px 10px 14px;
    border: 2px solid var(--vfe-border);
    border-radius: var(--vfe-radius-sm);
    font-size: 14px;
    font-family: inherit;
    background-color: var(--vfe-bg) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px !important;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.2s;
}
.vfe-select-single:focus {
    outline: none;
    border-color: var(--vfe-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.vfe-select {
    width: 100%;
    /* Ensure padding included in width */
    box-sizing: border-box;
    max-width: 100%;

    padding: 14px 16px;
    border: 2px solid var(--vfe-border);
    border-radius: var(--vfe-radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: var(--vfe-bg);
    transition: all 0.2s ease;
}

.vfe-input:focus,
.vfe-textarea:focus,
.vfe-select:focus {
    outline: none;
    border-color: var(--vfe-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.vfe-textarea {
    resize: vertical;
}

.vfe-rule-summary-badge {
    padding: 4px 10px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.vfe-badge-danger {
    background: #fef2f2;
    color: #991b1b;
}

.vfe-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vfe-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.vfe-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--vfe-border);
}

/* Loading */
.vfe-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.vfe-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--vfe-border);
    border-top-color: var(--vfe-primary);
    border-radius: 50%;
    animation: vfe-spin 0.8s linear infinite;
}

@keyframes vfe-spin {
    to {
        transform: rotate(360deg);
    }
}

.vfe-loading p {
    margin-top: 16px;
    color: var(--vfe-text-secondary);
    font-weight: 600;
}

/* Empty State */
.vfe-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--vfe-surface);
    border-radius: var(--vfe-radius-lg);
    box-shadow: var(--vfe-shadow);
}

.vfe-empty-state p {
    margin: 0 0 24px 0;
    color: var(--vfe-text-secondary);
    font-size: 16px;
}

/* Login Form */
.vfe-login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.vfe-login-box {
    background: var(--vfe-surface);
    border-radius: var(--vfe-radius-lg);
    padding: 60px;
    box-shadow: var(--vfe-shadow-lg);
    max-width: 800px;
    /* Truly wide login form */
    width: 100%;
}

.vfe-login-box h2 {
    margin: 0 0 32px 0;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
}

.vfe-register-link {
    text-align: center;
    margin-top: 24px;
}

.vfe-register-link a {
    color: var(--vfe-primary);
    font-weight: 600;
    text-decoration: none;
}

.vfe-register-link a:hover {
    text-decoration: underline;
}

/* Calendar */
.vfe-calendar-container {
    background: white;
    border-radius: var(--vfe-radius);
    padding: 24px;
    box-shadow: var(--vfe-shadow);
    border: 1px solid var(--vfe-border);
}

.vfe-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.vfe-calendar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.vfe-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--vfe-border);
    border: 1px solid var(--vfe-border);
    border-radius: 8px;
    overflow: hidden;
}

.vfe-calendar-weekday {
    background: #f8fafc;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--vfe-text-secondary);
    text-transform: uppercase;
    min-width: 0;
}

.vfe-calendar-day {
    background: white;
    min-height: 120px;
    padding: 8px;
    position: relative;
    transition: background 0.2s;
    min-width: 0;
}

.vfe-day-inactive {
    background: #fdfdfd;
    color: var(--vfe-text-muted);
}

.vfe-day-today {
    background: #f0f7ff;
}

.vfe-day-today .vfe-day-number {
    background: var(--vfe-primary);
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.vfe-day-number {
    font-size: 14px;
    font-weight: 600;
}

.vfe-day-events {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vfe-calendar-event {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    min-width: 0;
}

.vfe-event-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vfe-status-confirmed {
    background: #dcfce7;
    color: #166534;
}

.vfe-status-pending {
    background: #fef9c3;
    color: #854d0e;
}

.vfe-status-external {
    background: #f1f5f9;
    color: #475569;
}

.vfe-event-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.vfe-status-confirmed .vfe-event-dot {
    background: #22c55e;
}

.vfe-status-pending .vfe-event-dot {
    background: #eab308;
}

.vfe-status-external .vfe-event-dot {
    background: #64748b;
}

.vfe-calendar-legend {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--vfe-border);
}

.vfe-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--vfe-text-secondary);
}

.vfe-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

/* iCal-Sync Hinweis (Kalender + Unterkünfte-Liste) */
.vfe-ical-hint {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 16px 20px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 3px solid var(--vfe-primary-accent);
    border-radius: var(--vfe-radius-sm);
}

.vfe-ical-hint-icon {
    color: var(--vfe-primary-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.vfe-ical-hint-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--vfe-text-secondary);
}

.vfe-ical-hint-body strong {
    color: var(--vfe-text-primary);
    font-size: 14px;
}

.vfe-ical-hint-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.vfe-ical-hint-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: var(--vfe-primary-accent);
    color: #fff !important;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.vfe-ical-hint-link:hover {
    background: #1d4ed8;
    color: #fff !important;
}

/* iCal-Badge auf Unterkunft-Karte */
.vfe-product-ical-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border: 1.5px solid var(--vfe-border);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--vfe-text-muted);
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
    background: var(--vfe-surface);
}

.vfe-product-ical-btn:hover {
    border-color: var(--vfe-primary-accent);
    color: var(--vfe-primary-accent);
}

.vfe-product-ical-btn.is-active {
    border-color: #16a34a;
    color: #16a34a;
    background: #f0fdf4;
}

/* Toast Notifications */
.vfe-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.vfe-toast {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    pointer-events: auto;
    animation: vfe-toast-in 0.3s ease;
    max-width: 420px;
}

.vfe-toast-icon {
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.vfe-toast-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.vfe-toast-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.vfe-toast-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

@keyframes vfe-toast-in {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Validation */
.vfe-required {
    color: var(--vfe-danger);
    font-weight: 700;
}

.vfe-input-error {
    border-color: var(--vfe-danger) !important;
    background: #fef2f2 !important;
}

.vfe-input-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.vfe-error-text {
    display: block;
    color: var(--vfe-danger);
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

/* Save Button Spinner */
.vfe-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: vfe-spin 0.6s linear infinite;
    margin-right: 8px;
}

.vfe-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Toolbar (Search + Filter Tabs) */
.vfe-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.vfe-search-box {
    flex: 1;
    min-width: 200px;
}

.vfe-search-box .vfe-input {
    width: 100%;
}

.vfe-filter-tabs {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
}

.vfe-tab {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vfe-tab:hover {
    background: #e2e8f0;
    color: #334155;
}

.vfe-tab-active {
    background: #fff;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.vfe-tab-count {
    background: #e2e8f0;
    color: #64748b;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
}

.vfe-tab-active .vfe-tab-count {
    background: #3b82f6;
    color: #fff;
}

/* iCal Sync */
.vfe-ical-export {
    display: flex;
    gap: 8px;
}

.vfe-ical-calendar-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.vfe-ical-calendar-row .vfe-input {
    width: auto;
}

.vfe-ical-calendar-row select.vfe-input {
    flex: 0 0 220px;
    font-size: 14px;
    padding: 10px 12px;
}

.vfe-ical-calendar-row input.vfe-input {
    flex: 1;
    min-width: 0;
}

/* Info Box */
.vfe-info-box {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.vfe-info-box-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.vfe-info-box-content {
    font-size: 13px;
    color: #1e40af;
}

.vfe-info-box-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #1e3a8a;
}

.vfe-info-box-content p {
    margin: 4px 0 0 0;
}

/* Tooltip */
.vfe-tooltip {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted currentColor;
}

.vfe-tooltip-inline {
    border-bottom: none;
    font-size: 14px;
    margin-left: 6px;
    vertical-align: middle;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.vfe-tooltip-inline:hover {
    opacity: 1;
}

.vfe-tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #f8fafc;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    width: 300px;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
    text-align: left;
}

.vfe-tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1e293b;
}

.vfe-tooltip:hover .vfe-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* iCal Blocks */
.vfe-ical-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}

.vfe-ical-block-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #334155;
}

.vfe-ical-block-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.vfe-ical-block-header strong {
    color: #1e293b;
}

/* Provider Hints & Badges */
.vfe-ical-provider-hints {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vfe-provider-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
    padding: 6px 0;
}

.vfe-provider-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

.vfe-provider-airbnb {
    background: #ff385c;
    color: #fff;
}

.vfe-provider-booking {
    background: #003580;
    color: #fff;
}

.vfe-provider-fewo {
    background: #00a1de;
    color: #fff;
}

/* iCal Empty State */
.vfe-ical-empty {
    padding: 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    margin-bottom: 8px;
}

/* Sync Status */
.vfe-ical-sync-status {
    background: #fff;
}

.vfe-ical-sync-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.vfe-sync-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #334155;
    margin-bottom: 4px;
}

.vfe-sync-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.vfe-sync-dot-ok {
    background: #22c55e;
}

.vfe-sync-dot-none {
    background: #cbd5e1;
}

.vfe-sync-auto-info {
    font-size: 12px;
    color: #94a3b8;
}

/* Bookings Table */
.vfe-table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.vfe-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.vfe-table thead {
    background: #f8fafc;
}

.vfe-table th {
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.vfe-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.vfe-table tbody tr:hover {
    background: #f8fafc;
}

.vfe-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.vfe-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.vfe-badge-bk-pending-confirm {
    background: #fef3c7;
    color: #92400e;
}

.vfe-badge-bk-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.vfe-badge-bk-paid {
    background: #d1fae5;
    color: #065f46;
}

.vfe-badge-bk-unpaid {
    background: #fee2e2;
    color: #991b1b;
}

.vfe-badge-bk-completed {
    background: #e0e7ff;
    color: #3730a3;
}

.vfe-badge-bk-cancelled {
    background: #f1f5f9;
    color: #64748b;
}

.vfe-booking-actions {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.vfe-pagination-info {
    font-size: 14px;
    color: #64748b;
}

/* Pagination */
.vfe-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.vfe-pagination-pages {
    display: flex;
    gap: 4px;
}

.vfe-pagination-page {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.vfe-pagination-page:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.vfe-pagination-active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.vfe-pagination-active:hover {
    background: #2563eb;
}

/* Settings Image Previews */
.vfe-settings-image-preview {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.vfe-settings-image-preview:hover .vfe-image-remove {
    opacity: 1;
}

.vfe-settings-image-preview img {
    display: block;
    max-width: 200px;
    max-height: 150px;
    object-fit: cover;
}

.vfe-settings-banner-preview img {
    max-width: 100%;
    max-height: 180px;
    width: 100%;
}

/* Settings Upload Button */
.vfe-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 24px 16px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    color: #475569;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.vfe-upload-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #2563eb;
}

.vfe-upload-btn-icon {
    font-size: 1.4em;
}

/* ============================================
   Wizard
   ============================================ */
.vfe-wizard-progress {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 24px 40px;
    background: var(--vfe-surface);
    border-radius: var(--vfe-radius-lg);
    box-shadow: var(--vfe-shadow);
    position: relative;
}

.vfe-wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    position: relative;
}

.vfe-wizard-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--vfe-bg);
    border: 3px solid var(--vfe-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--vfe-text-muted);
    transition: all 0.3s ease;
}

.vfe-wizard-step-active .vfe-wizard-step-circle {
    background: var(--vfe-primary);
    border-color: var(--vfe-primary);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(26, 43, 60, 0.15);
}

.vfe-wizard-step-completed .vfe-wizard-step-circle {
    background: var(--vfe-secondary);
    border-color: var(--vfe-secondary);
    color: #fff;
}

.vfe-wizard-step-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--vfe-text-muted);
    text-align: center;
    white-space: nowrap;
}

.vfe-wizard-step-active .vfe-wizard-step-label {
    color: var(--vfe-primary);
}

.vfe-wizard-step-completed .vfe-wizard-step-label {
    color: var(--vfe-secondary);
}

.vfe-wizard-progress-bar {
    position: absolute;
    top: 47px;
    left: 80px;
    right: 80px;
    height: 3px;
    background: var(--vfe-border);
    border-radius: 2px;
    z-index: 0;
}

.vfe-wizard-progress-fill {
    height: 100%;
    background: var(--vfe-secondary);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.vfe-wizard-step-content {
    animation: vfe-wizard-fade 0.35s ease;
}

@keyframes vfe-wizard-fade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vfe-wizard-step-hint {
    font-size: 13px;
    color: var(--vfe-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.vfe-wizard-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--vfe-border);
}

.vfe-wizard-nav-spacer {
    flex: 1;
}

.vfe-wizard-success {
    text-align: center;
    padding: 60px 40px;
    background: var(--vfe-surface);
    border-radius: var(--vfe-radius-lg);
    box-shadow: var(--vfe-shadow);
}

.vfe-wizard-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.vfe-wizard-success h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--vfe-text-primary);
}

.vfe-wizard-success p {
    color: var(--vfe-text-secondary);
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.vfe-wizard-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Support View */
.vfe-support-frame-wrapper {
    background: var(--vfe-surface);
    border-radius: var(--vfe-radius-lg);
    border: 1px solid var(--vfe-border);
    overflow: hidden;
    box-shadow: var(--vfe-shadow-sm);
}

/* Tickzo Support — volle Breite + Schriftart ans Dashboard anpassen */
.vfe-support-content .tickzo-ticket-form-container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 22px !important;
}

.vfe-support-content .tickzo-ticket-form-container,
.vfe-support-content .tickzo-customer-center,
.vfe-support-content .tickzo-single-ticket,
.vfe-support-content .tickzo-reply-form {
    font-family: inherit !important;
    margin: 0 !important;
}

/* Eingabefelder ans Dashboard anpassen */
.vfe-support-content input[type="text"],
.vfe-support-content input[type="email"],
.vfe-support-content select,
.vfe-support-content textarea {
    font-family: inherit !important;
}

.vfe-page-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .vfe-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-radius: var(--vfe-radius) var(--vfe-radius) 0 0;
    }

    .vfe-main {
        margin-left: 0;
        padding: 20px;
    }

    .vfe-wrapper {
        flex-direction: column;
    }

    .vfe-form-row {
        grid-template-columns: 1fr;
    }

    .vfe-wizard-progress {
        padding: 16px 20px;
        gap: 8px;
    }

    .vfe-wizard-progress-bar {
        display: none;
    }

    .vfe-wizard-step-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .vfe-wizard-step-label {
        font-size: 11px;
    }

    .vfe-wizard-success {
        padding: 40px 20px;
    }

    .vfe-wizard-success-actions {
        flex-direction: column;
    }

    .vfe-page-header-actions {
        flex-direction: column;
        gap: 6px;
    }
}

/* Registration Forms - Split Layout PREMIUM */
/* Leftover rules removed */

/* ==========================================================================
   HELL & FREUNDLICHES PREMIUM THEME
   Symmetrisches 50/50 Layout mit hellem Bild & klarem Formular
   ========================================================================== */
.vfe-reg-page-wrapper.vfe-theme-premium {
    background: #fdfdfd;
    padding: 60px 20px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vfe-theme-premium .vfe-reg-split-container {
    display: flex;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    /* Sanfter Schatten um die gesamte Box */
}

/* LINKE SEITE (INFO) - Hell, Einladend, Bild-Hintergrund */
.vfe-theme-premium .vfe-reg-info-panel {
    flex: 1;
    /* Exakt 50% fÃ¼r links */
    background: url('https://images.unsplash.com/photo-1596394516093-501ba68a0ba6?q=80&w=1200&auto=format&fit=crop') center center / cover no-repeat;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Semi-Transparenter helle Overlay auf dem Bild */
.vfe-theme-premium .vfe-reg-info-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(224, 242, 254, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.vfe-theme-premium .vfe-reg-info-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
    margin: 0 auto;
}

.vfe-theme-premium .vfe-reg-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #0284c7;
    /* Friendly Sky Blue */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.vfe-theme-premium .vfe-reg-info-content h1 {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #0f172a !important;
    /* Dunkler Text fÃ¼r Lesbarkeit */
}

.vfe-theme-premium .vfe-reg-lead {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #475569;
}

.vfe-theme-premium .vfe-reg-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vfe-theme-premium .vfe-reg-benefits li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.7);
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.vfe-theme-premium .vfe-reg-benefits .icon {
    font-size: 20px;
}

/* RECHTE SEITE (FORMULAR) - Hell & Sauber */
.vfe-theme-premium .vfe-reg-form-panel {
    flex: 1;
    /* Exakt 50% fÃ¼r rechts, gleiche Breite wie linke Bild-Box */
    background: #ffffff;
    display: flex;
    align-items: stretch;
    /* Garantiert 100% HÃ¶he */
}

.vfe-theme-premium .vfe-glass-form {
    padding: 60px 80px;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vfe-theme-premium .vfe-form-header {
    text-align: left;
    margin-bottom: 35px;
}

.vfe-theme-premium .vfe-form-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a !important;
}

.vfe-theme-premium .vfe-form-header p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.vfe-theme-premium .vfe-form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vfe-theme-premium .vfe-form-group.full {
    width: 100%;
}

.vfe-theme-premium .vfe-form-group {
    margin-bottom: 5px;
}

.vfe-theme-premium .vfe-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #475569;
    text-transform: uppercase;
}

.vfe-theme-premium .vfe-form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    color: #1e293b;
    box-sizing: border-box;
}

.vfe-theme-premium .vfe-form-group input:focus {
    border-color: #0ea5e9;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    outline: none;
}

/* Radio Buttons "Ich bin..." */
.vfe-theme-premium .vfe-role-selector-group {
    margin-bottom: 25px;
}

.vfe-theme-premium .vfe-role-selector {
    display: flex;
    gap: 12px;
}

.vfe-theme-premium .vfe-role-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border-radius: 14px;
    border: 2px solid #f1f5f9;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.vfe-theme-premium .vfe-role-option:hover {
    border-color: #bae6fd;
    background: #f0f9ff;
}

.vfe-theme-premium .vfe-role-option.active {
    border-color: #0ea5e9;
    background: #f0f9ff;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.1);
}

.vfe-theme-premium .vfe-role-option input[type="radio"] {
    display: none;
}

.vfe-theme-premium .vfe-role-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.vfe-theme-premium .vfe-role-text {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
}

.vfe-theme-premium .vfe-submit-btn {
    width: 100%;
    padding: 18px;
    background: #0ea5e9 !important;
    /* Freundliches Hellblau */
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.15);
}

.vfe-theme-premium .vfe-submit-btn:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(14, 165, 233, 0.25);
}

.vfe-theme-premium .vfe-error-list {
    background: #fee2e2;
    border: 1px solid #fecaca;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.vfe-theme-premium .vfe-error-list p {
    margin: 0;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
}

.vfe-theme-premium .vfe-login-hint {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.vfe-theme-premium .vfe-login-hint a {
    color: #0284c7;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    transition: all 0.2s;
}

.vfe-theme-premium .vfe-login-hint a:hover {
    border-bottom-color: #0284c7;
}

/* Animations & Responsive */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.vfe-theme-premium .vfe-reg-split-container {
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 1000px) {
    .vfe-theme-premium .vfe-reg-split-container {
        flex-direction: column;
        max-width: 600px;
    }

    .vfe-theme-premium .vfe-reg-info-panel,
    .vfe-theme-premium .vfe-reg-form-panel {
        flex: auto;
    }

    .vfe-theme-premium .vfe-glass-form {
        padding: 50px 40px;
    }
}

@media (max-width: 600px) {
    .vfe-theme-premium .vfe-glass-form {
        padding: 40px 20px;
    }
}

/* Spezifische Korrektur fÃ¼r das Login-Bild */
.combined-view#customer_login .vfe-reg-form-panel {
    justify-content: center;
    padding: 0;
}

.combined-view#customer_login .vfe-glass-form {
    padding: 100px 80px;
    max-width: 550px;
    margin: 0 auto;
    border: none;
    background: none;
    box-shadow: none;
}

.combined-view#customer_login .vfe-form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.combined-view#customer_login .vfe-form-header p {
    font-size: 16px;
    color: #475569;
}

.combined-view#customer_login .vfe-form-group label {
    font-size: 11px;
    letter-spacing: 0.8px;
    color: #1e293b;
}

.combined-view#customer_login .vfe-form-group input {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 20px;
}

.combined-view#customer_login .vfe-form-group {
    position: relative;
    /* FÃ¼r das Auge-Icon */
}

.combined-view#customer_login .vfe-password-field {
    position: relative;
}

.combined-view#customer_login .vfe-password-field input {
    padding-right: 98px;
}

.combined-view#customer_login .vfe-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 6px 8px;
    z-index: 3;
}

.combined-view#customer_login .vfe-password-toggle:hover {
    color: #0ea5e9;
}

/* WooCommerce-Standard-Toggle hier ausblenden, da eigener Toggle verwendet wird. */
.combined-view#customer_login .show-password-input {
    display: none !important;
}

.combined-view#customer_login .vfe-form-actions-login {
    margin-top: 15px !important;
    margin-bottom: 30px !important;
}

.combined-view#customer_login .vfe-form-actions-login span,
.combined-view#customer_login .vfe-form-actions-login a {
    font-size: 14px;
    color: #475569 !important;
}

.combined-view#customer_login .vfe-submit-btn {
    padding: 18px;
    font-size: 16px;
    letter-spacing: 0.5px;
    background: #00a5e5 !important;
    border-radius: 12px;
}

.combined-view#customer_login .vfe-login-hint {
    font-size: 15px;
    margin-top: 25px !important;
}

/* Statistics Page Charts */
.vfe-stats-page .vfe-page-header {
    align-items: flex-end;
}

.vfe-stats-page .vfe-page-header p {
    margin: 0;
    color: var(--vfe-text-secondary);
    font-weight: 500;
}

.vfe-stats-page .vfe-stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.vfe-stats-page .vfe-stat-card {
    padding: 16px;
    gap: 12px;
    box-shadow: none;
    border: 1px solid #d8e2ee;
}

.vfe-stats-page .vfe-stat-value {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.vfe-stats-page .vfe-stat-label {
    font-size: 13px;
}

.vfe-stats-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.vfe-chart-card {
    background: var(--vfe-surface);
    border: 1px solid var(--vfe-border);
    border-radius: var(--vfe-radius-lg);
    box-shadow: var(--vfe-shadow-sm);
    padding: 18px 18px 16px;
}

.vfe-chart-card-full {
    grid-column: 1 / -1;
}

.vfe-chart-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vfe-chart-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--vfe-text-primary);
}

.vfe-chart-head small {
    color: var(--vfe-text-secondary);
    font-weight: 600;
}

.vfe-month-bars {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
}

.vfe-month-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.vfe-month-bar-wrap {
    width: 100%;
    height: 132px;
    background: #f1f5f9;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.vfe-month-bar {
    width: 100%;
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
    border-radius: 8px;
    transition: height 0.35s ease;
}

.vfe-month-bar-value {
    font-size: 12px;
    font-weight: 700;
    color: var(--vfe-text-primary);
}

.vfe-month-bar-label {
    font-size: 12px;
    color: var(--vfe-text-secondary);
}

.vfe-line-chart {
    width: 100%;
    height: 150px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: block;
    padding: 8px;
}

.vfe-line-chart-grid {
    fill: none;
    stroke: #cbd5e1;
    stroke-width: 0.8;
}

.vfe-line-chart-path {
    fill: none;
    stroke: #0ea5e9;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vfe-line-chart-labels {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.vfe-line-chart-labels span {
    font-size: 12px;
    color: var(--vfe-text-secondary);
    text-align: center;
}

.vfe-status-chart-wrap {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 14px;
    align-items: center;
}

.vfe-status-donut {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vfe-status-donut::after {
    content: "";
    width: 102px;
    height: 102px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
}

.vfe-status-donut-inner {
    z-index: 1;
    font-size: 22px;
    font-weight: 800;
    color: var(--vfe-text-primary);
}

.vfe-status-legend {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vfe-status-legend li {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--vfe-text-secondary);
}

.vfe-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.vfe-status-legend strong {
    color: var(--vfe-text-primary);
}

.vfe-top-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vfe-top-product-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}

.vfe-top-product-title {
    color: var(--vfe-text-primary);
    font-weight: 700;
}

.vfe-top-product-numbers {
    color: var(--vfe-text-secondary);
    font-size: 13px;
}

.vfe-top-product-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.vfe-top-product-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.vfe-weekday-bars {
    display: grid;
    gap: 8px;
}

.vfe-weekday-item {
    display: grid;
    grid-template-columns: 40px 1fr 34px;
    align-items: center;
    gap: 10px;
}

.vfe-weekday-label {
    font-weight: 700;
    color: var(--vfe-text-secondary);
}

.vfe-weekday-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.vfe-weekday-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0ea5e9, #2563eb);
}

.vfe-weekday-value {
    text-align: right;
    color: var(--vfe-text-primary);
    font-weight: 700;
}

.vfe-chart-empty {
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #64748b;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 26px 14px;
    text-align: center;
}

@media (max-width: 1200px) {
    .vfe-stats-page .vfe-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vfe-stats-layout {
        grid-template-columns: 1fr;
    }

    .vfe-chart-card-full {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .vfe-stats-page .vfe-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vfe-status-chart-wrap {
        grid-template-columns: 1fr;
    }

    .vfe-status-donut {
        width: 150px;
        height: 150px;
    }

    .vfe-status-donut::after {
        width: 88px;
        height: 88px;
    }

    .vfe-month-bars,
    .vfe-line-chart-labels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .vfe-stats-page .vfe-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Interaktive Kalender-Sperre */
.vfe-calendar-day:hover {
    background: #f8fafc;
    cursor: pointer;
}

.vfe-day-selected {
    background: #e0f2fe !important;
    border: 2px solid var(--vfe-primary-accent) !important;
}

.vfe-day-in-range {
    background: #f0f9ff !important;
}

.vfe-status-manual {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

.vfe-status-manual .vfe-event-dot {
    background: #ef4444 !important;
}

.vfe-calendar-selection-bar {
    margin-top: 24px;
    background: #f8fafc;
    border: 2px solid var(--vfe-primary-accent);
    border-radius: var(--vfe-radius-lg);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    animation: vfe-slide-up 0.3s ease-out;
}

@keyframes vfe-slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.vfe-selection-info {
    font-size: 15px;
    color: var(--vfe-text-primary);
}

.vfe-selection-actions {
    display: flex;
    gap: 12px;
}

.vfe-btn-icon-min {
    background: transparent;
    border: none;
    color: var(--vfe-text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.vfe-btn-icon-min:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--vfe-danger);
}

