/* TaskRabbit Layout Styles */

/* Main Layout - TaskRabbit Style */
.main-layout {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    align-items: flex-start;
}

/* Left Sidebar - Filters */
.filter-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 120px;
}

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

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover {
    color: #FF5722;
}

.filter-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #dee2e6;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.filter-checkbox.checked {
    background-color: #FF5722;
    border-color: #FF5722;
    color: white;
}

.filter-checkbox.checked::after {
    content: '✓';
    font-size: 12px;
    font-weight: bold;
}

/* Right Content Area */
.content-area {
    flex: 1;
    min-width: 0;
}

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

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sort-dropdown {
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
}

/* Provider Cards - TaskRabbit Style */
.providers-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.provider-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.provider-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* TaskRabbit Layout Structure */
.provider-content {
    display: flex;
    gap: 2rem;
}

.provider-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.provider-left .provider-stats {
    align-self: flex-start;
    width: 100%;
    max-width: 180px;
}

.provider-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid #f8f9fa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.provider-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF5722, #FF7043);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.verified-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.provider-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.provider-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #212529;
    text-align: center;
    margin-bottom: 0.25rem;
}

.provider-minimum {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Provider Stats */
.provider-stats {
    list-style: none;
    width: 100%;
    margin: 1rem 0 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.provider-stats li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.85rem;
    color: #495057;
    width: 100%;
    box-sizing: border-box;
}

.provider-stats li i {
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.provider-stats li span {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}

.star-icon {
    color: #ffc107;
    font-size: 1rem;
}

.rating-score {
    color: #212529;
    font-weight: 700;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-outline {
    background: transparent;
    color: #6c757d;
    border: 1px solid transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btn-outline:hover {
    color: #FF5722;
    text-decoration-color: #FF5722;
}

.btn-primary {
    background: #25D366;
    color: white;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #128C7E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-primary i {
    font-size: 1.1em;
}

/* Provider Right Content */
.provider-right {
    flex: 1;
    min-width: 0;
}

.provider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.header-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.header-price {
    text-align: right;
}

.price-large {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #212529;
    line-height: 1;
}

.minimum-text {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* How I Can Help Section */
.help-section {
    margin-bottom: 1.5rem;
}

.help-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-icon {
    color: #FF5722;
    font-size: 1rem;
}

.help-description {
    color: #495057;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.read-more {
    color: #0066cc;
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.read-more:hover {
    color: #0052a3;
}

/* Recent Review */
.recent-review {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
}

.review-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #212529;
    margin-bottom: 0.125rem;
}

.review-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.review-text {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
    font-style: italic;
}

/* Chat Note */
.chat-note {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #1565c0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-icon {
    color: #1976d2;
    font-size: 0.9rem;
}

/* Price Range Styles */
.price-range {
    padding: 1rem 0;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    margin-bottom: 0.5rem;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FF5722;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 87, 34, 0.3);
    transition: all 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FF5722;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(255, 87, 34, 0.3);
    transition: all 0.2s ease;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-sidebar {
        width: 100%;
        position: static;
        order: 2;
    }

    .content-area {
        order: 1;
    }

    .provider-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .provider-left {
        width: 100%;
        align-items: center;
    }

    .provider-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .header-price {
        text-align: center;
    }

    .provider-card {
        padding: 1.5rem;
    }
} 