/* Espace Client Styles */
/* TEPI EXPLOITATION - Client Space Styles */

.client-space-container {
    max-width: 1000px;
    margin: 0 auto;
}

.client-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.client-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5em;
}

.client-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.client-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #333;
}

/* Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.dashboard-header h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 0.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.dashboard-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.dashboard-icon {
    font-size: 3em;
    margin-bottom: 1rem;
    color: #3498db;
}

.dashboard-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2em;
}

.dashboard-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #3498db;
    margin: 0.5rem 0;
}

/* Recent Interventions */
.recent-interventions {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.recent-interventions h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5em;
}

.intervention-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intervention-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.intervention-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
}

.status-progress {
    background: #e3f2fd;
    color: #2196f3;
}

.status-pending {
    background: #fff3e0;
    color: #ff9800;
}

.status-completed {
    background: #e8f5e9;
    color: #4caf50;
}

.intervention-details {
    flex: 1;
}

.intervention-details h4 {
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-size: 1.1em;
}

.intervention-details p {
    color: #555;
    margin: 0.2rem 0;
    font-size: 0.95em;
}

/* Quick Actions */
.quick-actions {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quick-actions h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5em;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.action-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.action-icon {
    font-size: 2em;
    color: white;
}

.action-icon i {
    color: white;
}

/* Responsive for Client Space */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .intervention-item {
        flex-direction: column;
        text-align: center;
    }

    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
