:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --secondary: #f8f9fa;
    --accent: #ff6d00;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --success: #4caf50;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.yachtwalle-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Yacht Listings Grid */
.yachtwalle-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.yachtwalle-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.yachtwalle-card:hover {
    transform: translateY(-5px);
}

.yachtwalle-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.yachtwalle-card-class {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.yachtwalle-card-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ffc107;
}

.yachtwalle-card-content {
    padding: 20px;
}

.yachtwalle-card-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text);
}

.yachtwalle-card-specs {
    display: flex;
    margin-bottom: 15px;
    gap: 20px;
}

.yachtwalle-card-spec {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
}

.yachtwalle-card-spec i {
    margin-right: 5px;
    color: var(--primary);
}

.yachtwalle-card-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.yachtwalle-card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yachtwalle-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.yachtwalle-book-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.yachtwalle-book-btn:hover {
    background: var(--primary-dark);
}

/* Booking Form */
.yachtwalle-booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.yachtwalle-booking-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
}

.yachtwalle-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.yachtwalle-booking-title {
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary);
}

.yachtwalle-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.yachtwalle-form-group {
    flex: 1;
}

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

.yachtwalle-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.yachtwalle-form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.yachtwalle-submit-btn {
    background: var(--success);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    font-size: 16px;
}

.yachtwalle-submit-btn:hover {
    background: #388e3c;
}

.yachtwalle-full-width {
    width: 100%;
}

/* Search Form */
.yachtwalle-search {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 40px 0;
    box-shadow: var(--shadow);
}

.yachtwalle-search .search-fields {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.yachtwalle-search .search-fields input,
.yachtwalle-search .search-fields select {
    flex: 1;
    min-width: 200px;
}

.yachtwalle-search .search-fields button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.yachtwalle-search .search-fields button:hover {
    background: #e65100;
}

/* Responsive */
@media (max-width: 768px) {
    .yachtwalle-listings {
        grid-template-columns: 1fr;
    }
    
    .yachtwalle-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .yachtwalle-search .search-fields {
        flex-direction: column;
    }
    
    .yachtwalle-search .search-fields input,
    .yachtwalle-search .search-fields select,
    .yachtwalle-search .search-fields button {
        min-width: 100%;
        margin-bottom: 10px;
    }
}

/* Notices */
.yachtwalle-notice {
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.yachtwalle-notice.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.yachtwalle-notice.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}