/* Course Booking Pro Plugin Styles */

/* TARGETED FIX FOR ELEMENTOR STRUCTURE WHITE SPACE */
.elementor-element.elementor-widget.elementor-widget-cbp-pricing-card {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.elementor-element.elementor-widget.elementor-widget-cbp-pricing-card .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.elementor-column .elementor-element.elementor-widget-cbp-pricing-card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* General Styles */
.cbp-course-selection,
.cbp-city-selection,
.cbp-course-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cbp-course-selection h3,
.cbp-city-selection h3,
.cbp-course-details h2,
.cbp-packages h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Course Selection Grid */
.cbp-courses-grid,
.cbp-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cbp-course-card,
.cbp-city-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.cbp-course-card:hover,
.cbp-city-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.cbp-course-card h4,
.cbp-city-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.cbp-course-excerpt,
.cbp-city-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Buttons */
.cbp-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
}

.cbp-btn:hover {
    background: #2980b9;
    color: #fff;
    text-decoration: none;
}

.cbp-btn-primary {
    background: #3498db;
}

.cbp-btn-primary:hover {
    background: #2980b9;
}

/* Course Details Page */
.cbp-course-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e1e1;
}

.cbp-selected-city {
    color: #7f8c8d;
    font-size: 1.1em;
    margin-top: 10px;
}

.cbp-course-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Package Cards */
.cbp-packages {
    margin-top: 40px;
}

.cbp-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cbp-package-card {
    background: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.cbp-package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Package Specific Colors */
.cbp-package-silver {
    border-color: #95a5a6;
}

.cbp-package-silver:hover {
    border-color: #7f8c8d;
}

.cbp-package-gold {
    border-color: #f39c12;
}

.cbp-package-gold:hover {
    border-color: #e67e22;
}

.cbp-package-platinum {
    border-color: #9b59b6;
}

.cbp-package-platinum:hover {
    border-color: #8e44ad;
}

.cbp-package-header {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cbp-package-silver .cbp-package-header {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
    color: #fff;
}

.cbp-package-gold .cbp-package-header {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #fff;
}

.cbp-package-platinum .cbp-package-header {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: #fff;
}

.cbp-package-header h4 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.cbp-package-price {
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0;
}

.cbp-package-description {
    padding: 20px;
    line-height: 1.6;
    color: #666;
    min-height: 80px;
}

.cbp-package-footer {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
}

.cbp-btn-silver {
    background: #95a5a6;
}

.cbp-btn-silver:hover {
    background: #7f8c8d;
}

.cbp-btn-gold {
    background: #f39c12;
}

.cbp-btn-gold:hover {
    background: #e67e22;
}

.cbp-btn-platinum {
    background: #9b59b6;
}

.cbp-btn-platinum:hover {
    background: #8e44ad;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cbp-courses-grid,
    .cbp-cities-grid,
    .cbp-packages-grid {
        grid-template-columns: 1fr;
    }
    
    .cbp-course-selection,
    .cbp-city-selection,
    .cbp-course-details {
        padding: 15px;
    }
    
    .cbp-package-price {
        font-size: 1.5em;
    }
}

/* Loading and Error States */
.cbp-loading {
    text-align: center;
    padding: 40px;
    colour: #666;
}

.cbp-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #f5c6cb;
}

.cbp-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #c3e6cb;
}

/* Back Navigation */
.cbp-back-nav {
    margin-bottom: 20px;
}

.cbp-back-nav a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.cbp-back-nav a:hover {
    text-decoration: underline;
}

/* Course Selection Enhancement */
.cbp-course-card {
    position: relative;
    overflow: hidden;
}

.cbp-course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cbp-course-card:hover::before {
    left: 100%;
}

/* City Selection Enhancement */
.cbp-city-selection h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
} 