body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1200px;
}

.developer-row {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 1.5rem;
    position: relative;
}

.developer-row:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.developer-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
}

.developer-info {
    flex: 1;
    padding: 2rem;
}

.developer-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.developer-title {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.4;
}

.developer-bio {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.developer-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
}

.btn-minimal {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-profile {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-view-profile:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: white;
    text-decoration: none;
}

.btn-social {
    background: transparent;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.btn-social:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
    text-decoration: none;
    transform: translateY(-1px);
}

.developer-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
}

.developer-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.developer-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.developer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.developer-tag {
    background: #1a1a1a;
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.developer-tag:hover {
    background: #000000;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.skill-filter {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.skill-chip {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin: 0.25rem;
    border-radius: 20px;
    background-color: #e9ecef;
    color: #495057;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.skill-chip:hover {
    background-color: #667eea;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.skill-chip.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.search-section {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.75rem;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.page-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.page-header h2 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #6c757d;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.results-count {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: #6c757d;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 0.2rem;
    border: 2px solid #e9ecef;
    color: #667eea;
    font-weight: 500;
}

.pagination .page-link:hover {
    background: #667eea;
    border-color: #667eea;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.filter-checkbox-group {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    background: #f8f9fa;
}

.filter-checkbox-group .form-check {
    margin-bottom: 0.5rem;
}

.filter-checkbox-group .form-check:last-child {
    margin-bottom: 0;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-check-label {
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
}

.form-check-label:hover {
    color: #667eea;
}

/* Skill tags on the cards are buttons that filter by that skill. */
button.developer-tag {
    font-family: inherit;
    line-height: inherit;
}

.developer-tag-static {
    cursor: default;
}

.developer-tag-static:hover {
    background: #1a1a1a;
    transform: none;
    box-shadow: none;
}

.active-filter-remove {
    background: none;
    border: none;
    color: inherit;
    padding: 0 0 0 0.4rem;
    line-height: 1;
    opacity: 0.8;
}

.active-filter-remove:hover {
    opacity: 1;
}

.developer-meta {
    flex-wrap: wrap;
    row-gap: 0.5rem;
}

.developer-actions {
    flex-wrap: wrap;
}

@media (max-width: 575.98px) {
    .developer-row {
        flex-direction: column;
    }

    .developer-avatar {
        width: 96px;
        height: 96px;
    }

    .developer-info {
        padding: 0 1rem 1.25rem;
    }

    .page-header h1 {
        font-size: 2rem !important;
    }
}
