/* Enhanced Tab Styles for Swiftinerary */

/* Common tab styling for all feature tabs */
.tab-button {
    padding: 12px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-right: 4px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

.tab-button:hover {
    background-color: #e9f5f2;
    color: #2a9d8f;
}

.tab-button.active {
    background-color: #fff;
    color: #2a9d8f;
    border-bottom: 3px solid #2a9d8f;
    z-index: 2;
}

/* Feature content styling */
.feature-content {
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: -1px;
    z-index: 1;
    position: relative;
}

/* Feature section styling */
.feature-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #2a9d8f;
}

.feature-section h3 {
    margin-top: 0;
    color: #2a9d8f;
    font-size: 16px;
    font-weight: 600;
}

/* Specific styling for Smart Booking tab */
#smart-booking-view .feature-section {
    border-left-color: #2a9d8f;
}

#smart-booking-view .booking-form {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

#smart-booking-view .booking-result {
    background-color: #e9f5f2;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #2a9d8f;
}

/* Specific styling for Collaborative Features tab */
#collaborative-features-view .feature-section {
    border-left-color: #e76f51;
}

#collaborative-features-view .team-section {
    background-color: #fdf6f2;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #e76f51;
}

/* Specific styling for Trip Insights tab */
#trip-insights-view .feature-section {
    border-left-color: #457b9d;
}

#trip-insights-view .insight-card {
    background-color: #f0f6fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #457b9d;
}

/* Common form styling for all tabs */
.feature-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.feature-form input,
.feature-form select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.feature-form button {
    padding: 8px 16px;
    background-color: #2a9d8f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.feature-form button:hover {
    background-color: #218879;
}

/* Placeholder styling */
.feature-placeholder {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.feature-placeholder h3 {
    color: #2a9d8f;
    margin-bottom: 10px;
}

.feature-placeholder p {
    color: #666;
    max-width: 400px;
    margin: 0 auto;
}

/* Button styling */
.feature-button {
    background-color: #2a9d8f;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
}

.feature-button:hover {
    background-color: #218879;
}

/* Secondary button */
.feature-button-secondary {
    background-color: #e9f5f2;
    color: #2a9d8f;
    border: 1px solid #2a9d8f;
}

.feature-button-secondary:hover {
    background-color: #d5efe9;
}

/* Results containers */
.results-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Loading indicator */
.loading-indicator {
    text-align: center;
    padding: 20px;
    color: #2a9d8f;
}

/* Ensure consistent styling with the rest of the application */
.tab-content {
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
} 