/**
 * Profile List Styles
 * Styles for the profile list shortcode
 */

.sb-profile-list {
    margin: 2rem 0;
}

.sb-profile-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e5e5;
}

.sb-profile-list-header h2 {
    margin: 0;
    font-size: 1.75rem;
}

.sb-profile-list-items {
    display: grid;
    gap: 1.5rem;
}

.sb-profile-list-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.sb-profile-list-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sb-profile-list-item-image {
    flex-shrink: 0;
}

.sb-profile-list-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.sb-profile-list-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sb-profile-list-item-title {
    margin: 0;
    font-size: 1.25rem;
}

.sb-profile-list-item-title a {
    text-decoration: none;
    color: #333;
}

.sb-profile-list-item-title a:hover {
    color: #0073aa;
}

.sb-profile-list-item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #666;
}

.sb-profile-list-item-status {
    padding: 0.25rem 0.5rem;
    background: #f0f0f0;
    border-radius: 4px;
}

.sb-profile-list-item-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.sb-profile-list-item-actions .button {
    padding: 0.5rem 1rem;
    text-decoration: none;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
}

.sb-profile-list-item-actions .button:hover {
    background: #005a87;
}

/* Profile Widget Styles (for single profile shortcode) */
.sb-profile-widget {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin: 1rem 0;
}

.sb-profile-widget-image {
    flex-shrink: 0;
}

.sb-profile-widget-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.sb-profile-widget-content {
    flex: 1;
}

.sb-profile-widget-name {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.sb-profile-widget-name a {
    text-decoration: none;
    color: #333;
}

.sb-profile-widget-name a:hover {
    color: #0073aa;
}

.sb-profile-widget-job-title {
    font-weight: 600;
    color: #666;
    margin-bottom: 1rem;
}

.sb-profile-widget-excerpt {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.sb-profile-widget-actions {
    margin-top: 1rem;
}

.sb-profile-widget-actions .button {
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
}

.sb-profile-widget-actions .button:hover {
    background: #005a87;
}

/* Responsive styles */
@media (max-width: 768px) {
    .sb-profile-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .sb-profile-list-item,
    .sb-profile-widget {
        flex-direction: column;
    }

    .sb-profile-list-item-image img {
        width: 60px;
        height: 60px;
    }
}
