🏨 Hotel Booking Enhancements: - Implemented Eagle Booking Advanced Pricing add-on - Added Booking.com-style rate management system - Created professional calendar interface for pricing - Integrated deals and discounts functionality 💰 Advanced Pricing Features: - Dynamic pricing models (per room, per person, per adult) - Base rates, adult rates, and child rates management - Length of stay discounts and early bird deals - Mobile rates and secret deals implementation - Seasonal promotions and flash sales 📅 Availability Management: - Real-time availability tracking - Stop sell and restriction controls - Closed to arrival/departure functionality - Minimum/maximum stay requirements - Automatic sold-out management 💳 Payment Integration: - Maintained Redsys payment gateway integration - Seamless integration with existing Eagle Booking - No modifications to core Eagle Booking plugin 🛠️ Technical Implementation: - Custom database tables for advanced pricing - WordPress hooks and filters integration - AJAX-powered admin interface - Data migration from existing Eagle Booking - Professional calendar view for revenue management 📊 Admin Interface: - Booking.com-style management dashboard - Visual rate and availability calendar - Bulk operations for date ranges - Statistics and analytics dashboard - Modal dialogs for quick editing 🔧 Code Quality: - WordPress coding standards compliance - Secure database operations with prepared statements - Proper input validation and sanitization - Error handling and logging - Responsive admin interface 🤖 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
210 lines
4.0 KiB
CSS
210 lines
4.0 KiB
CSS
/**
|
|
* Eagle Booking Tourist Tax - Frontend Styles
|
|
*
|
|
* Styles for tourist tax display on booking forms and checkout pages
|
|
*
|
|
* 🤖 Generated with Claude Code (https://claude.ai/code)
|
|
*/
|
|
|
|
/* Tourist Tax Information Display */
|
|
.eb-tourist-tax-info {
|
|
background: #f8f9fa;
|
|
border: 1px solid #e1e5e9;
|
|
border-radius: 6px;
|
|
padding: 15px;
|
|
margin: 15px 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.eb-tax-notice {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: #495057;
|
|
}
|
|
|
|
.eb-tax-notice i {
|
|
color: #007cba;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.eb-tax-text {
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Tourist Tax Amount Display */
|
|
.eb-tourist-tax-amount {
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
background: #e3f2fd;
|
|
border-left: 4px solid #2196f3;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
color: #1565c0;
|
|
}
|
|
|
|
/* Checkout Summary Styling */
|
|
.eb-tourist-tax-row {
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.eb-tourist-tax-row td {
|
|
padding: 12px 15px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.eb-summary-label {
|
|
font-weight: 600;
|
|
color: #333;
|
|
width: 60%;
|
|
}
|
|
|
|
.eb-summary-label small {
|
|
display: block;
|
|
font-weight: normal;
|
|
color: #666;
|
|
font-size: 12px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.eb-summary-amount {
|
|
text-align: right;
|
|
font-weight: 700;
|
|
color: #2c5aa0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Booking Confirmation Styling */
|
|
.eb-confirmation-tourist-tax {
|
|
background: #fff;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.eb-confirmation-tourist-tax h4 {
|
|
margin: 0 0 15px;
|
|
color: #333;
|
|
font-size: 18px;
|
|
border-bottom: 2px solid #007cba;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.eb-confirmation-tourist-tax p {
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.eb-confirmation-tourist-tax strong {
|
|
color: #2c5aa0;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.eb-confirmation-tourist-tax small {
|
|
color: #666;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.eb-tourist-tax-info {
|
|
padding: 12px;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.eb-tax-notice {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
.eb-tourist-tax-amount {
|
|
padding: 8px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.eb-summary-label,
|
|
.eb-summary-amount {
|
|
padding: 8px 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.eb-confirmation-tourist-tax {
|
|
padding: 15px;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.eb-confirmation-tourist-tax h4 {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
/* Integration with Eagle Booking Themes */
|
|
.eagle-booking .eb-tourist-tax-info,
|
|
.eb-booking-form .eb-tourist-tax-info {
|
|
border-color: var(--eb-primary-color, #007cba);
|
|
background: var(--eb-light-bg, #f8f9fa);
|
|
}
|
|
|
|
.eagle-booking .eb-tourist-tax-amount,
|
|
.eb-booking-form .eb-tourist-tax-amount {
|
|
border-left-color: var(--eb-primary-color, #2196f3);
|
|
background: var(--eb-primary-light, #e3f2fd);
|
|
}
|
|
|
|
/* Dark theme support */
|
|
@media (prefers-color-scheme: dark) {
|
|
.eb-tourist-tax-info {
|
|
background: #2c3e50;
|
|
border-color: #34495e;
|
|
color: #ecf0f1;
|
|
}
|
|
|
|
.eb-tax-notice i {
|
|
color: #3498db;
|
|
}
|
|
|
|
.eb-tourist-tax-amount {
|
|
background: #1a252f;
|
|
border-left-color: #3498db;
|
|
color: #5dade2;
|
|
}
|
|
|
|
.eb-confirmation-tourist-tax {
|
|
background: #34495e;
|
|
border-color: #455a64;
|
|
color: #ecf0f1;
|
|
}
|
|
|
|
.eb-confirmation-tourist-tax h4 {
|
|
color: #ecf0f1;
|
|
border-bottom-color: #3498db;
|
|
}
|
|
}
|
|
|
|
/* Animation for dynamic updates */
|
|
.eb-tourist-tax-amount {
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.eb-tourist-tax-amount.updating {
|
|
opacity: 0.6;
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
/* Print styles */
|
|
@media print {
|
|
.eb-tourist-tax-info,
|
|
.eb-confirmation-tourist-tax {
|
|
border: 1px solid #000 !important;
|
|
background: #fff !important;
|
|
color: #000 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.eb-tax-notice i {
|
|
display: none;
|
|
}
|
|
} |