/**
 * Home Page Styles - Issue #29 Phase 2 (CSS-Only Migration)
 * Migrated from inline styles to design tokens
 */

/* Dashboard Container */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Welcome Header */
.welcome-header {
    background: linear-gradient(135deg, var(--color-bg-subtle) 0%, var(--color-gray-200) 100%);
    padding: var(--space-4xl) var(--space-2xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
}

/* Quick Actions Card */
.quick-actions-card {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

/* Issue #7: Improved padding for Schnellaktionen header */
.quick-actions-card .card-header {
    padding: var(--space-xl) var(--space-2xl) !important;
}

.quick-actions-card .card-header h5 {
    padding-left: var(--space-sm);
}

.quick-actions-card .card-header i {
    margin-right: var(--space-lg) !important;
    vertical-align: middle;
}

/* Quick Action Buttons */
.quick-action-btn {
    display: flex;
    align-items: center;
    padding: var(--space-lg);
    background: var(--color-bg-primary);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    text-decoration: none;
    color: inherit;
    transition: var(--transition-slow);
    height: 100%;
    /* Issue #31 Task 6: Bootstrap Focus-Ring und Schatten deaktivieren */
    --bs-focus-ring-color: transparent;
    --bs-focus-ring-opacity: 0;
    --bs-box-shadow: none;
    --bs-border-color: var(--color-gray-200);
    box-shadow: none !important;
}

.quick-action-btn:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.1);
    transform: translateY(-2px);
    color: inherit;
}

.quick-action-btn:focus,
.quick-action-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), #6610f2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
    font-size: var(--font-size-xl);
    margin-right: var(--space-lg);
    flex-shrink: 0;
}

/* Info Cards - Issue #31 Task 11: Increased padding */
.info-card {
    border: none;
    box-shadow: var(--shadow-base);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.info-card:hover {
    transform: translateY(-2px);
}

.info-card .card-body {
    padding: var(--space-xl) !important;
}

/* Issue #8: Info-Icons aligned with Schnellaktionen-Icons */
.info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    margin-right: var(--space-lg);
    flex-shrink: 0;
}

/* Locations Overview */
.locations-overview .card {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-2xl);
}

.location-card {
    background: var(--color-bg-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    height: 100%;
}

.manager-item {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.manager-item:last-child {
    margin-bottom: 0;
}

/* Landing Page Styles - Issue #128: LernOase Farbpalette */
.hero-section {
    background: linear-gradient(135deg, #6cff90 0%, #7664a8 100%);
    color: #000000;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-icon {
    opacity: 1;
    color: #484643;
}

.cta-buttons .btn {
    border-radius: var(--radius-full);
    padding: var(--space-md) var(--space-2xl);
    font-weight: var(--font-weight-semibold);
}

.cta-buttons .btn-primary {
    background-color: #484643;
    border-color: #484643;
    color: #ffffff;
}

.cta-buttons .btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
}

.feature-card {
    background: var(--color-bg-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl) var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .welcome-header {
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .quick-action-btn {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl) var(--space-lg);
    }
    
    .quick-action-icon {
        margin-right: 0;
        margin-bottom: var(--space-lg);
    }
    
    /* Issue #31 Task 11: Extra padding on mobile for info cards */
    .info-card .card-body {
        padding: var(--space-2xl) var(--space-xl) !important;
    }
    
    .hero-section {
        min-height: 50vh;
        padding: var(--space-2xl) 0;
    }
    
    .hero-content h1 {
        font-size: var(--font-size-3xl);
    }
}
