/* LC Wellness Marketplace - Public Styles */

/* Global Styles */
:root {
    --primary-color: #414536;
    --secondary-color: #F9F6F0;
    --text-color: #414536;
    --emphasis-color: #808080;
    --greenish-color: #9CA091;
    --dark-green-color: #656856;
    --light-green-color: #9BF9F1;
    --dark-blue-color: #3D5367;
    --light-blue-color: #ACBAC0;
    --dark-brown-color: #4B382A;
    --light-brown-color: #DAD5CF;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --success-color: #4caf50;
    --warning-color: #ffc107;
    --danger-color: #f44336;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Search Container */
.lcw-search-container {
    margin: 30px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.lcw-search-form {
    background: linear-gradient(135deg, #fff8f0 0%, #f5f5f5 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lcw-search-form h2 {
    margin-top: 0;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.lcw-search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
}

.lcw-filter-group {
    flex: 1;
    min-width: 200px;
}

.lcw-filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.lcw-filter-group select,
.lcw-filter-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    background: white;
}

.lcw-filter-group select:focus,
.lcw-filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(109, 76, 65, 0.1);
}

.lcw-search-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(109, 76, 65, 0.2);
}

.lcw-search-button:hover {
    background: #5d4037;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 76, 65, 0.3);
}

/* Search Results */
.lcw-search-results {
    min-height: 200px;
}

.lcw-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Professional Grid */
.lcw-professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.lcw-professional-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background: white;
    position: relative;
}

.lcw-professional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.lcw-card-header {
    padding: 25px;
    background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.lcw-card-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lcw-card-info h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.lcw-card-location {
    font-size: 15px;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 500;
}

.lcw-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.lcw-star {
    color: #e0e0e0;
    font-size: 16px;
}

.lcw-star.filled {
    color: var(--warning-color);
}

.lcw-rating-text {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 500;
}

.lcw-card-body {
    padding: 20px;
}

.lcw-card-specialties {
    margin: 15px 0;
}

.lcw-specialties-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lcw-specialties-list li {
    background: rgba(161, 136, 127, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

.lcw-card-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    background: #fafafa;
}

.lcw-view-profile-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(109, 76, 65, 0.2);
}

.lcw-view-profile-button:hover {
    background: #5d4037;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 76, 65, 0.3);
}

/* Professional Profile */
.lcw-professional-profile {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.lcw-profile-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.lcw-profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.lcw-profile-info h1 {
    margin: 0 0 15px 0;
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 700;
}

.lcw-profile-location {
    font-size: 20px;
    color: var(--secondary-color);
    margin: 0 0 20px 0;
    font-weight: 500;
}

.lcw-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lcw-profile-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.lcw-profile-bio h2,
.lcw-profile-languages h3,
.lcw-profile-specialties h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.lcw-profile-services h2 {
    margin: 40px 0 25px 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 28px;
    text-align: center;
}

.lcw-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.lcw-service-card {
    border: none;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    background: white;
    transition: var(--transition);
}

.lcw-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.lcw-service-card h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 600;
}

.lcw-service-description {
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.lcw-service-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
}

.lcw-service-duration,
.lcw-service-price,
.lcw-service-type {
    background: rgba(161, 136, 127, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--primary-color);
}

.lcw-book-service-button,
.lcw-login-to-book {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(109, 76, 65, 0.2);
}

.lcw-book-service-button:hover,
.lcw-login-to-book:hover {
    background: #5d4037;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 76, 65, 0.3);
}

/* Client Panel */
.lcw-client-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.lcw-bookings-list {
    display: grid;
    gap: 25px;
}

.lcw-booking-item {
    border: none;
    border-radius: var(--border-radius);
    padding: 25px;
    background: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.lcw-booking-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.lcw-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.lcw-booking-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 22px;
}

.lcw-booking-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.lcw-booking-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
}

.lcw-booking-status.paid {
    background: rgba(40, 167, 69, 0.2);
    color: #155724;
}

.lcw-booking-status.completed {
    background: rgba(23, 162, 184, 0.2);
    color: #0c5460;
}

.lcw-booking-status.cancelled {
    background: rgba(220, 53, 69, 0.2);
    color: #721c24;
}

.lcw-booking-status.refunded {
    background: rgba(108, 117, 125, 0.2);
    color: #383d41;
}

.lcw-booking-details p {
    margin: 8px 0;
    color: var(--secondary-color);
}

.lcw-booking-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lcw-pay-booking-button,
.lcw-cancel-booking-button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.lcw-pay-booking-button {
    background: var(--success-color);
    color: white;
}

.lcw-cancel-booking-button {
    background: var(--danger-color);
    color: white;
}

.lcw-pay-booking-button:hover,
.lcw-cancel-booking-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Professional Panel */
.lcw-professional-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.lcw-panel-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.lcw-tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
    transition: var(--transition);
}

.lcw-tab-button:hover {
    color: var(--primary-color);
}

.lcw-tab-button.active {
    color: var(--primary-color);
    font-weight: 600;
}

.lcw-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.lcw-tab-pane {
    display: none;
}

.lcw-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lcw-form-group {
    margin-bottom: 25px;
}

.lcw-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.lcw-form-group input,
.lcw-form-group textarea,
.lcw-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

.lcw-form-group input:focus,
.lcw-form-group textarea:focus,
.lcw-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(109, 76, 65, 0.1);
}

.lcw-save-button,
.lcw-add-button,
.lcw-export-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(109, 76, 65, 0.2);
}

.lcw-save-button:hover,
.lcw-add-button:hover,
.lcw-export-button:hover {
    background: #5d4037;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 76, 65, 0.3);
}

.lcw-services-list {
    display: grid;
    gap: 25px;
}

.lcw-service-item {
    border: none;
    border-radius: var(--border-radius);
    padding: 25px;
    background: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.lcw-service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.lcw-service-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    font-size: 15px;
    color: var(--secondary-color);
}

.lcw-service-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lcw-edit-service,
.lcw-delete-service,
.lcw-accept-booking,
.lcw-decline-booking {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.lcw-edit-service {
    background: var(--warning-color);
    color: #212529;
}

.lcw-delete-service {
    background: var(--danger-color);
    color: white;
}

.lcw-accept-booking {
    background: var(--success-color);
    color: white;
}

.lcw-decline-booking {
    background: var(--secondary-color);
    color: white;
}

.lcw-edit-service:hover,
.lcw-delete-service:hover,
.lcw-accept-booking:hover,
.lcw-decline-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lcw-earnings-summary {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(139, 195, 74, 0.1) 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

/* Card Photo Placeholder */
.lcw-card-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lcw-card-photo-placeholder svg {
    width: 35px;
    height: 35px;
    stroke: var(--secondary-color);
}

@media (max-width: 768px) {
    .lcw-search-filters {
        flex-direction: column;
    }
    
    .lcw-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .lcw-profile-content {
        grid-template-columns: 1fr;
    }
    
    .lcw-panel-tabs {
        flex-wrap: wrap;
    }
    
    .lcw-service-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .lcw-tab-button {
        flex: 1 0 auto;
        text-align: center;
    }
    
    .lcw-booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .lcw-booking-actions {
        width: 100%;
    }
    
    .lcw-service-actions {
        width: 100%;
    }
    
    .lcw-edit-service,
    .lcw-delete-service,
    .lcw-accept-booking,
    .lcw-decline-booking,
    .lcw-pay-booking-button,
    .lcw-cancel-booking-button {
        flex: 1;
        text-align: center;
    }
}