/* Dashboard Styles */
.simpbook-dashboard-page {
    padding: 20px 0;
}

/* WordPress Admin h2 Override - Kein Border-Bottom */
.wrap h2 {
    border-bottom: none !important;
}

@media (min-width: 1200px) {
    .simpbook-admin-wrap {
        max-width: 70%;
    }
}

.simpbook-dashboard-warnings {
    margin-bottom: 20px;
}

.simpbook-dashboard-shortcode-box {
    background: #fff;
        border: 2px solid #1a4a8a;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.simpbook-dashboard-shortcode-box h2 {
    margin-top: 0;
    color: #2271b1;
}

.simpbook-shortcode-display {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.simpbook-shortcode-display code {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #2271b1;
    background: transparent;
    padding: 0;
}

.simpbook-shortcode-display .button {
    white-space: nowrap;
}

.simpbook-shortcode-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.simpbook-shortcode-status.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.simpbook-shortcode-status.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.simpbook-shortcode-status .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.simpbook-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.simpbook-dashboard-card {
    background: #fff;
        border: 2px solid #1a4a8a;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.simpbook-dashboard-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1d2327;
    font-size: 20px;
}

.simpbook-dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.simpbook-dashboard-stat {
    text-align: center;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.simpbook-dashboard-stat.simpbook-umsatz-stat {
    background: linear-gradient(135deg, #1a4a8a 0%, #0e7490 100%) !important;
}

.simpbook-dashboard-stat.simpbook-umsatz-stat .simpbook-stat-number {
    color: #fff;
    font-size: 32px;
}

.simpbook-dashboard-stat.simpbook-umsatz-stat .simpbook-stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.simpbook-stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #2271b1;
    line-height: 1;
    margin-bottom: 8px;
}

.simpbook-stat-label {
    display: block;
    font-size: 14px;
    color: #646970;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simpbook-dashboard-status-breakdown {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.simpbook-status-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 4px;
}

.simpbook-status-item.status-bestätigt {
    background: #d4edda;
    border: 2px solid #28a745;
}

.simpbook-status-item.status-ausstehend {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.simpbook-status-item.status-abgelehnt {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

.simpbook-status-count {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.simpbook-status-label {
    display: block;
    font-size: 12px;
    color: #646970;
}

.simpbook-next-reservation {
    margin-top: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
}

.simpbook-next-reservation h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    color: #1d2327;
}

.simpbook-next-reservation-time {
    margin: 0;
    font-size: 16px;
    color: #1d2327;
}

/* Heutige Buchungen Liste */
.simpbook-today-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.simpbook-booking-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: white;
    border-radius: 4px;
    align-items: flex-start;
}

.simpbook-booking-time {
    flex-shrink: 0;
    min-width: 60px;
    font-size: 15px;
    color: #2271b1;
}

.simpbook-booking-time strong {
    font-weight: 600;
}

.simpbook-booking-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.simpbook-booking-name {
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}

.simpbook-booking-service {
    font-size: 13px;
    color: #646970;
}

.simpbook-booking-employee {
    font-size: 13px;
    color: #646970;
    font-style: italic;
}

.simpbook-week-breakdown {
    margin-top: 20px;
}

.simpbook-week-breakdown h3 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #1d2327;
}

.simpbook-week-days {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.simpbook-week-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid transparent;
}

.simpbook-week-day.simpbook-today {
    background: #e7f3ff;
    border-left-color: #2271b1;
    font-weight: 600;
}

.simpbook-day-name {
    flex: 1;
    font-weight: 600;
}

.simpbook-day-date {
    flex: 1;
    color: #646970;
    font-size: 13px;
}

.simpbook-day-count {
    font-weight: 700;
    color: #2271b1;
    font-size: 18px;
    min-width: 30px;
    text-align: right;
}

.simpbook-dashboard-card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ccd0d4;
}

.simpbook-dashboard-quick-actions {
    background: #fff;
        border: 2px solid #1a4a8a;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.simpbook-dashboard-quick-actions h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1d2327;
    font-size: 20px;
}

.simpbook-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.simpbook-quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #f5f5f5;
    border: 1px solid #667eea;
    border-radius: 6px;
    text-decoration: none;
    color: #1d2327;
    transition: all 0.2s;
}

.simpbook-quick-action:hover {
    background: #e7f3ff;
    border-color: #2271b1;
    color: #2271b1;
    text-decoration: none;
}

.simpbook-quick-action .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.simpbook-quick-action span:not(.dashicons) {
    font-weight: 600;
}

.button-success {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff !important;
}

/* Responsive */
@media (max-width: 782px) {
    .simpbook-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .simpbook-dashboard-status-breakdown {
        flex-direction: column;
    }
    
    .simpbook-quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .simpbook-shortcode-display {
        flex-direction: column;
        align-items: stretch;
    }
    
    .simpbook-shortcode-display .button {
        width: 100%;
    }
}

