/* ==========================================================================
   Home Dashboard Styles - Matching Landing Page Design
   ========================================================================== */

/* Dashboard Container */
.home-dashboard {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Hero Welcome Section */
.dashboard-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #1a365d 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(26, 54, 93, 0.3);
}

.dashboard-hero .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.dashboard-hero .welcome-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.dashboard-hero .welcome-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 500px;
}

.dashboard-hero .hero-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    color: #fff;
}

.dashboard-hero .hero-alert i {
    color: #3b82f6;
    font-size: 1.2rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card .stat-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

/* Dashboard Sections */
.dashboard-section {
    margin-bottom: 2.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.heading-underline {
    width: 60px;
    height: 3px;
    background: #3b82f6;
    margin: 0 auto;
}

.heading-underline.light {
    background: #fff;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    border: 1px solid #eee;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    border-color: #3b82f6;
}

.action-card .action-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.1);
}

.action-card .action-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.action-card h4 {
    color: #1a365d;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.action-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Previews Grid */
.previews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.preview-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.preview-card-header {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    padding: 1.5rem;
    text-align: center;
}

.preview-card-header i {
    font-size: 2.5rem;
    color: #fff;
}

.preview-card-body {
    padding: 1.5rem;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(26, 54, 93, 0.3);
}

.benefits-section .section-header h2 {
    color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.benefit-card h4 {
    color: #1a365d;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.benefit-card p {
    color: #666;
    margin: 0;
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 991px) {
    .dashboard-hero .welcome-text h1 {
        font-size: 2rem;
    }

    .dashboard-hero .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-hero .welcome-text p {
        margin: 0 auto;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .dashboard-hero {
        padding: 2rem 1.5rem;
    }

    .dashboard-hero .welcome-text h1 {
        font-size: 1.75rem;
    }

    .dashboard-hero .welcome-text p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .previews-grid {
        grid-template-columns: 1fr;
    }

    .benefits-section {
        padding: 2rem 1rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dashboard-hero .welcome-text h1 {
        font-size: 1.5rem;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Legacy Styles (kept for backwards compatibility)
   ========================================================================== */

.logo-zajawka {
    display: none;
}

.center-zajawka {
    display: none;
}

.cloud-image,
.cloud-text,
.cloud-image-pion {
    display: none;
}

.previews-container-items,
.previews-container-items-small {
    display: none;
}
