/* CLEM profile.css — Perfil d'usuari */

.profile-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0 0 .35rem;
}
.profile-section-desc {
    font-size: .85rem;
    color: #6b7280;
    margin: 0 0 1rem;
}
.profile-home-options {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    margin-bottom: 1rem;
}
.profile-home-opt {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
    cursor: pointer;
}
.profile-home-opt input[type="radio"] {
    accent-color: #1e3a5f;
    cursor: pointer;
}
.profile-drivers-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.profile-driver-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: .5rem;
    padding: .6rem .9rem;
    gap: .75rem;
}
.pdi-info {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex: 1;
    min-width: 0;
}
.pdi-name {
    font-weight: 600;
    color: #1e3a5f;
    font-size: .9rem;
}
.pdi-desc {
    font-size: .8rem;
    color: #6b7280;
}
.pdi-badge {
    background: #dbeafe;
    color: #1e3a5f;
    border-radius: 99px;
    padding: .15rem .55rem;
    font-size: .75rem;
    font-weight: 600;
}
.pdi-empty {
    color: #6b7280;
    font-size: .85rem;
    text-align: center;
    padding: 1rem;
    list-style: none;
}
.pdi-actions {
    display: flex;
    gap: .4rem;
    flex-shrink: 0;
}
.clem-btn-xs {
    font-size: .75rem;
    padding: .2rem .55rem;
}
.clem-btn-danger {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}
.clem-btn-danger:hover {
    background: #fca5a5;
}
.profile-add-form {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin-bottom: .75rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: .5rem;
    padding: .65rem .9rem;
}
.profile-add-form input[type="text"] {
    flex: 1;
    min-width: 130px;
    font-size: .875rem;
    padding: .3rem .6rem;
    border: 1px solid #cbd5e1;
    border-radius: .375rem;
    outline: none;
}
.profile-add-form input[type="text"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px #bfdbfe;
}

@media (max-width: 480px) {
    .profile-driver-item {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .pdi-info {
        flex-wrap: wrap;
    }
    .pdi-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
