* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Search Section */
.search-section {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-filters {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.dropdown {
    position: relative;
}

.dropdown-btn {
    background: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    transition: all 0.2s ease;
}

.dropdown-btn:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.dropdown-arrow {
    font-size: 12px;
    color: #666;
}

.location-input {
    flex: 1;
    min-width: 200px;
}

.postcode-input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #666;
}

.postcode-input::placeholder {
    color: #999;
}

.search-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-info h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

.product-list {
    list-style: none;
}

.product-list li {
    padding: 8px 0;
    font-size: 16px;
    color: #555;
    border-bottom: 1px solid #eee;
}

.product-list li:last-child {
    border-bottom: none;
}

.maps-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    height: 400px;
}

.google-map {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.maps-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px dashed #ddd;
}

.maps-placeholder h3 {
    color: #666;
    font-size: 18px;
    font-weight: 500;
}

/* Location Cards */
.location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.location-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.location-card.highlighted {
    border: 3px solid #3498db;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.location-number {
    background: #3498db;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.location-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #666;
    font-size: 14px;
}

.address-icon {
    font-size: 16px;
}

.instructor {
    margin-bottom: 20px;
}

.instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.availability {
    margin-bottom: 20px;
}

.availability-label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    display: block;
    margin-bottom: 12px;
}

.date-options {
    display: flex;
    gap: 12px;
}

.date-option {
    text-align: center;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-option.available {
    border-color: #28a745;
    background: #f8fff9;
}

.date-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.date {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.day {
    display: block;
    font-size: 12px;
    color: #666;
}

.course-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-tag {
    background: #e9ecef;
    color: #495057;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.calendar-btn {
    background: white;
    color: #495057;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.register-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.register-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.arrow {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dropdown-btn,
    .postcode-input,
    .search-btn {
        width: 100%;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .location-cards {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .calendar-btn,
    .register-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }
    
    .search-section {
        padding: 16px;
    }
    
    .location-card {
        padding: 16px;
    }
    
    .date-options {
        flex-wrap: wrap;
    }
}
