/* Taskering CRM - Stránky CSS */

/* ===== Dashboard Stránky ===== */

/* Client Dashboard */
.client-dashboard .stats-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-dashboard .stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.client-dashboard .quick-actions .btn {
    transition: all 0.2s ease;
}

.client-dashboard .quick-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Admin Dashboard */
.admin-dashboard .stats-overview {
    margin-bottom: 2rem;
}

.admin-dashboard .recent-activity {
    max-height: 400px;
    overflow-y: auto;
}

/* Solver Dashboard */
.solver-dashboard .task-list {
    max-height: 500px;
    overflow-y: auto;
}

.solver-dashboard .time-tracking {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
}

/* ===== Reports Stránka ===== */
.reports-page .filter-panel {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.reports-page .chart-section {
    margin-bottom: 2rem;
}

.reports-page .top-users-list {
    max-height: 300px;
    overflow-y: auto;
}

.reports-page .export-buttons {
    margin-top: 1rem;
}

/* ===== Tasks Stránka ===== */
.tasks-page .task-filters {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.tasks-page .task-status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.tasks-page .task-priority-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.tasks-page .task-actions {
    white-space: nowrap;
}

/* ===== Time Records Stránka ===== */
.time-page .time-filters {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.time-page .time-entry {
    border-left: 3px solid var(--bs-primary);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.time-page .time-duration {
    font-weight: 600;
    color: var(--bs-primary);
}

/* ===== Users Stránka ===== */
.users-page .user-filters {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.users-page .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.users-page .user-role-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* ===== Projects Stránka ===== */
.projects-page .project-filters {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.projects-page .project-status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.projects-page .project-priority-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.projects-page .project-progress {
    min-width: 100px;
}

/* ===== Auth Stránky ===== */
.auth-page .login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-page .login-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.auth-page .login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.auth-page .login-form {
    padding: 2rem;
}

/* ===== Form Stránky ===== */
.form-page .form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-page .form-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-page .form-actions {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: right;
}

/* ===== Detail Stránky ===== */
.detail-page .detail-header {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-page .detail-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-page .detail-actions {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: right;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .reports-page .filter-panel,
    .tasks-page .task-filters,
    .time-page .time-filters,
    .users-page .user-filters,
    .projects-page .project-filters {
        padding: 1rem;
    }
    
    .form-page .form-section,
    .detail-page .detail-header,
    .detail-page .detail-content {
        padding: 1.5rem;
    }
    
    .auth-page .login-box {
        margin: 1rem;
        border-radius: 12px;
    }
    
    .auth-page .login-header,
    .auth-page .login-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .client-dashboard .stats-card,
    .admin-dashboard .stats-overview,
    .solver-dashboard .task-list {
        margin-bottom: 1rem;
    }
    
    .reports-page .chart-section,
    .tasks-page .task-filters,
    .time-page .time-filters,
    .users-page .user-filters,
    .projects-page .project-filters {
        margin-bottom: 1rem;
    }
    
    .form-page .form-section,
    .detail-page .detail-header,
    .detail-page .detail-content {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}
