/* Dark Theme Override für Dashboard-Stil */
:root {
    --primary: #0070c0;
    --primary-dark: #005a9c;
    --primary-blue: #0070c0;
    --secondary-blue: #50b9ff;
    --accent: #50b9ff;
    --success-green: #84c101;
    --dark-gray: #484848;
    --light-gray: #f5f5f5;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --accent-orange: #fd9047;
    
    /* Neue Dashboard-Farben */
    --dashboard-bg: #0f172a;
    --card-bg-start: #1e293b;
    --card-bg-end: #334155;
    --text-muted: #94a3b8;
}

/* Alternative: Dunkles Theme aktivieren */
body.dark-theme {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

body.dark-theme .container {
    background: transparent;
}

body.dark-theme .header-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

body.dark-theme .header-text h1 {
    color: white;
}

body.dark-theme .header-text p {
    color: #94a3b8;
}

body.dark-theme .info-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

body.dark-theme .form-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

body.dark-theme .form-section h2 {
    color: white;
}

body.dark-theme .form-label {
    color: rgba(255,255,255,0.9);
}

body.dark-theme .form-input {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    color: white;
}

body.dark-theme .form-input::placeholder {
    color: rgba(255,255,255,0.4);
}

body.dark-theme .form-input:focus {
    background: rgba(255,255,255,0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.dark-theme .form-hint {
    color: #94a3b8;
}

body.dark-theme .checkbox-container {
    background: rgba(255,255,255,0.05);
}

body.dark-theme .contact-info {
    background: rgba(255,255,255,0.05);
}

body.dark-theme .contact-item a {
    color: #60a5fa;
}

body.dark-theme .action-link {
    background: rgba(255,255,255,0.05);
    border-color: #60a5fa;
    color: #60a5fa;
}

body.dark-theme .action-link:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* Modernisierte Card-Styles mit Glasmorphismus */
.header-content-glass {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section-glass {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dashboard-Style Top Bar */
.top-bar-stats {
    display: flex;
    gap: 25px;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.stat-item-dashboard {
    text-align: center;
}

.stat-value-dashboard {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: block;
}

.stat-label-dashboard {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Segment-Style für Pricing Display */
.price-display-segment {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.price-display-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #10b981;
    border-radius: 12px 12px 0 0;
}

.price-display-segment:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* Badge-Style ähnlich Mockup */
.badge-style {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255,255,255,0.15);
    color: var(--accent);
    display: inline-block;
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Metric Rows */
.metric-row-style {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.metric-value-style {
    font-weight: 600;
    color: white;
}

/* Improved Gradients */
.gradient-blue {
    background: linear-gradient(135deg, #172554 0%, #1e40af 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #3b0764 0%, #6b21a8 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
}

.gradient-red {
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%);
}

/* Enhanced Shadows */
.shadow-enhanced {
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.shadow-enhanced-hover:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}

/* Text Shadows für bessere Lesbarkeit auf dunklem Hintergrund */
.text-shadow-glow {
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Responsive Updates für Dark Theme */
@media (max-width: 768px) {
    body.dark-theme .top-bar-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item-dashboard {
        width: 100%;
    }
}

/* Accent Color Variables für verschiedene Pakete */
.package-5 { --accent-color: #3b82f6; }
.package-10 { --accent-color: #8b5cf6; }
.package-20 { --accent-color: #10b981; }
.package-50 { --accent-color: #f59e0b; }
.package-75 { --accent-color: #ef4444; }
.package-100 { --accent-color: #ec4899; }

/* Modernisierte Button Styles */
.btn-primary-modern {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

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

/* Feature Badge mit Glow-Effekt */
.feature-badge-glow {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.4);
    animation: subtle-glow 3s ease-in-out infinite;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(79, 172, 254, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(79, 172, 254, 0.6);
    }
}