/* Client Card Styles - Simplified Design */

.client-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

/* Client name and info */
.client-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid #eaeaea;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.client-info {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: normal;
    margin-left: 0.5rem;
}

.client-code {
    color: #7f8c8d;
    font-size: 0.85rem;
    font-weight: normal;
    margin-left: 1rem;
}

.employee-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    background-color: #e3f2fd;
    color: #0277bd;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Client card actions */
.client-card-actions {
    display: flex;
    padding: 0.75rem;
    gap: 0.5rem;
}

/* Action buttons - More button-like design */
.client-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s;
}

.client-action:hover {
    background-color: #f1f1f1;
    border-color: #d0d0d0;
}

/* View button */
.client-action.view {
    color: #0277bd;
    background-color: #e3f2fd;
    border-color: #bbdefb;
}

.client-action.view:hover {
    background-color: #bbdefb;
}

/* Edit button */
.client-action.edit {
    color: #ff8f00;
    background-color: #fff8e1;
    border-color: #ffecb3;
}

.client-action.edit:hover {
    background-color: #ffecb3;
}

/* Link button */
.client-action.link {
    color: #2e7d32;
    background-color: #e8f5e9;
    border-color: #c8e6c9;
}

.client-action.link:hover {
    background-color: #c8e6c9;
}

/* Settings button */
.client-action.settings {
    color: #616161;
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

.client-action.settings:hover {
    background-color: #e0e0e0;
}

/* Delete button */
.client-action.delete {
    color: #c62828;
    background-color: #ffebee;
    border-color: #ffcdd2;
}

.client-action.delete:hover {
    background-color: #ffcdd2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .client-name {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .employee-count {
        align-self: flex-start;
    }
    
    .client-card-actions {
        flex-wrap: wrap;
    }
    
    .client-action {
        flex-basis: calc(50% - 0.25rem);
    }
}
