/* UserRoles.styles.css - Custom styles for user role management */

/* Role-specific styling */
.role-pharmacist {
    color: #007bff;
}

.role-pharmacy-manager {
    color: #28a745;
}

.role-customer {
    color: #6c757d;
}

.role-admin {
    color: #dc3545;
}

/* User role badges */
.role-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.role-badge-pharmacist {
    background-color: #007bff;
    color: white;
}

.role-badge-pharmacy-manager {
    background-color: #28a745;
    color: white;
}

.role-badge-customer {
    background-color: #6c757d;
    color: white;
}

.role-badge-admin {
    background-color: #dc3545;
    color: white;
}

/* User profile styling */
.user-profile {
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #f8f9fa;
}

.user-profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 1rem;
}

.user-info h5 {
    margin: 0;
    color: #495057;
}

.user-info small {
    color: #6c757d;
}

/* Role management forms */
.role-selection {
    margin-bottom: 1rem;
}

.role-selection label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.role-selection select {
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .user-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .user-avatar {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}
