/* Influencer Matching Styles */

.matching-section {
    padding: 8rem 0 4rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

/* Search Panel */
.search-panel {
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.search-header {
    background: var(--gold-gradient);
    color: var(--text-dark);
    padding: 1.5rem 2rem;
}

.search-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-content {
    padding: 2rem;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn-search {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--gold-gradient);
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-search:active {
    transform: translateY(-1px);
}

/* Results Section */
.results-section {
    margin-bottom: 3rem;
}

.influencer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.influencer-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.influencer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-color);
}

.influencer-header {
    position: relative;
    height: 200px;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.influencer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.match-score {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 900;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

.influencer-body {
    padding: 1.5rem;
}

.influencer-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.influencer-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.influencer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item-mini {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-item-mini .label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
}

.stat-item-mini .value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
}

.influencer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

.influencer-footer {
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--success-color);
}

.btn-view-detail {
    padding: 0.5rem 1.25rem;
    background: var(--gold-gradient);
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-view-detail:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-gold);
}

/* Statistics Section */
.stats-section {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--bg-tertiary);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: rotate(90deg);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.modal-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.modal-name {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.modal-category {
    font-size: 1.125rem;
    opacity: 0.9;
}

.modal-body-content {
    padding: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h3 i {
    color: var(--primary-color);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.detail-item .label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.detail-item .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.past-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.brand-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

/* Form Elements - Dark Theme */
select.form-control,
input.form-control {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-family: inherit;
    transition: var(--transition);
}

select.form-control:focus,
input.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: var(--bg-primary);
}

select.form-control:hover,
input.form-control:hover {
    border-color: var(--primary-color);
}

/* Range Slider - Gold Theme */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gold-gradient);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: var(--shadow-gold);
    transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--gold-gradient);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
}

input[type="range"]::-moz-range-thumb:hover {
    box-shadow: var(--shadow-gold);
    transform: scale(1.1);
}

/* Form Labels */
.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .influencer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
}
/* Additional Styles for Real Data */
.bio {
    color: #888;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.fee-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.fee-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.fee-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
}

.loading-message,
.error-message,
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.loading-message i,
.error-message i,
.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--primary-color);
}

.loading-message i.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.error-message {
    color: #ff4444;
}

.error-message i {
    color: #ff4444;
}

.error-message small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #888;
}

/* Profile Image Update for Real Photos */
.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.card-header .profile-img {
    font-size: 3rem;
}
