/* Empty Legs Pro - Frontend Styles */
.empty-legs-wrapper { margin: 20px 0; }

/* Header */
.elp-header { margin-bottom: 30px; }
.elp-header h2 { font-size: 28px; margin: 10px 0 5px; }
.elp-header p { color: #666; margin: 0; }

/* Subscribe Section - Compact */
.elp-subscribe-section { transition: all 0.3s ease; }
.elp-subscribe-btn { transition: all 0.3s ease !important; }
.elp-subscribe-btn:hover { background: #d4a017 !important; color: #000 !important; }

/* Table */
.empty-legs-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.empty-legs-table thead { background: #1a1a2e; color: #fff; }
.empty-legs-table th { padding: 15px; text-align: left; font-weight: 600; }
.empty-legs-table td { padding: 15px; border-bottom: 1px solid #eee; }
.empty-legs-table tbody tr:hover { background: #f8f9fa; }
.elp-route small { display: block; color: #666; font-size: 12px; margin-top: 4px; }
.elp-price { font-weight: 700; color: #1a1a2e; font-size: 18px; }

/* Request Button - Gold with high visibility */
.elp-request-btn { 
    background: #d4a017; 
    color: #000; 
    border: none; 
    padding: 12px 24px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-weight: 700; 
    font-size: 14px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.elp-request-btn:hover { 
    background: #b8860b; 
    color: #fff;
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(212,160,23,0.4);
}
.elp-request-btn:disabled { background: #ccc; color: #666; cursor: not-allowed; transform: none; box-shadow: none; }

/* Cards (Mobile) */
.elp-cards { display: none; }
.elp-card { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.elp-card-route { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; }
.elp-card-detail { margin-bottom: 8px; color: #666; }
.elp-card-price { font-size: 24px; font-weight: 700; color: #d4a017; margin: 15px 0; }
.elp-card .elp-request-btn { width: 100%; }

/* Countdown */
.elp-countdown { font-size: 12px; color: #e74c3c; font-weight: 600; margin-top: 5px; }

/* Modal - Compact for Mobile */
.elp-modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); overflow-y: auto; }
.elp-modal-content { background: #fff; margin: 20px auto; padding: 20px; max-width: 400px; border-radius: 8px; position: relative; animation: slideIn 0.3s; }
@keyframes slideIn { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.elp-close { position: absolute; right: 12px; top: 8px; font-size: 24px; cursor: pointer; color: #999; line-height: 1; }
.elp-close:hover { color: #333; }
.elp-modal h2, .elp-modal h3 { margin-top: 0; color: #1a1a2e; }
.elp-modal input, .elp-modal textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; box-sizing: border-box; }
.elp-modal input:focus, .elp-modal textarea:focus { border-color: #d4a017; outline: none; }
.elp-modal textarea { resize: none; }

/* Submit Button - Gold with high visibility */
.elp-submit-btn { 
    background: #d4a017; 
    color: #000; 
    border: none; 
    padding: 14px 28px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 16px; 
    font-weight: 700; 
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}
.elp-submit-btn:hover { 
    background: #b8860b; 
    color: #fff;
    box-shadow: 0 4px 12px rgba(212,160,23,0.4);
}

/* Dashboard */
.elp-dashboard { max-width: 800px; margin: 0 auto; padding: 20px; }
.elp-dashboard h2 { color: #1a1a2e; border-bottom: 3px solid #d4a017; padding-bottom: 10px; }
.elp-dashboard h3 { color: #1a1a2e; margin-top: 0; }
.elp-flight-details { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin-bottom: 20px; }
.elp-detail-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #eee; }
.elp-detail-row:last-child { border-bottom: none; }
.elp-label { font-weight: 600; color: #666; }
.elp-value { color: #1a1a2e; font-weight: 500; }

/* Total Price Box - Client sees ONLY this (no breakdown) */
.elp-total-price {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 100%);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}
.elp-total-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
    margin-bottom: 10px;
}
.elp-total-amount {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #d4a017;
    margin-bottom: 15px;
}
.elp-price-note {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* Pricing Breakdown (hidden from clients - only in email) */
.elp-pricing-breakdown { background: #f8f9fa; padding: 25px; border-radius: 8px; margin-bottom: 20px; }
.elp-pricing-breakdown h3 { margin-top: 0; color: #1a1a2e; }
.elp-price-row { display: flex; justify-content: space-between; padding: 10px 0; }
.elp-price-row.elp-total { border-top: 3px solid #1a1a2e; margin-top: 10px; padding-top: 15px; font-size: 22px; font-weight: 700; color: #d4a017; }

.elp-actions { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.elp-actions label { display: block; margin-bottom: 5px; font-weight: 600; }
.elp-actions input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 15px; box-sizing: border-box; }
.elp-form-note { font-size: 12px; color: #666; margin-top: 15px; }
.elp-btn-group { display: flex; gap: 10px; flex-wrap: wrap; }

/* Action Buttons - Primary Gold, Secondary Gray */
.elp-btn { 
    padding: 14px 28px; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 16px; 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    flex: 1;
    min-width: 150px;
}
.elp-btn-primary { 
    background: #d4a017; 
    color: #000; 
}
.elp-btn-primary:hover { 
    background: #b8860b; 
    color: #fff;
    box-shadow: 0 4px 12px rgba(212,160,23,0.4);
}
.elp-btn-secondary { 
    background: #495057; 
    color: #fff; 
}
.elp-btn-secondary:hover { 
    background: #343a40;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Status Notices */
.elp-status-notice { 
    padding: 20px; 
    border-radius: 4px; 
    font-weight: 500; 
    text-align: center;
}
.elp-status-hold { 
    background: #fff3cd; 
    color: #856404; 
    border: 1px solid #ffc107;
}
.elp-status-booked { 
    background: #d4edda; 
    color: #155724; 
    border: 1px solid #28a745;
}

/* Subscribe Form */
.elp-subscribe-form { background: #1a1a2e; padding: 30px; border-radius: 8px; color: #fff; max-width: 500px; }
.elp-subscribe-form h3 { margin-top: 0; color: #d4a017; font-size: 24px; }
.elp-subscribe-desc { color: #ccc; margin-bottom: 20px; }
.elp-subscribe-form label { display: block; margin-bottom: 5px; font-weight: 600; color: #fff; }
.elp-subscribe-form input[type="email"],
.elp-subscribe-form input[type="text"] { 
    width: 100%; 
    padding: 12px; 
    border: 2px solid #333; 
    border-radius: 4px; 
    margin-bottom: 5px; 
    box-sizing: border-box;
    background: #fff;
    color: #333;
    font-size: 14px;
}
.elp-subscribe-form input:focus {
    border-color: #d4a017;
    outline: none;
}
.elp-subscribe-note { font-size: 12px; color: #999; margin: 15px 0; }
.elp-subscribe-form button { 
    background: #d4a017; 
    color: #000; 
    border: none; 
    padding: 14px 28px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-weight: 700; 
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    font-size: 16px;
}
.elp-subscribe-form button:hover {
    background: #b8860b;
    color: #fff;
}

/* Airport Autocomplete Field */
.elp-airport-field { position: relative; margin-bottom: 15px; }
.elp-airport-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.elp-airport-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 14px;
}
.elp-airport-item:last-child { border-bottom: none; }
.elp-airport-item:hover { background: #f5f5f5; }
.elp-airport-item strong { color: #d4a017; }
.elp-airport-item small { color: #666; font-size: 12px; }
.elp-airport-item.elp-no-results { 
    color: #999; 
    cursor: default; 
    text-align: center;
    font-style: italic;
}
.elp-airport-item.elp-no-results:hover { background: #fff; }

/* Responsive */
@media (max-width: 768px) {
    .empty-legs-table { display: none; }
    .elp-cards { display: block; }
    .elp-modal { padding: 10px; }
    .elp-modal-content { margin: 10px auto; padding: 15px; max-width: calc(100% - 20px); }
    .elp-modal h3 { font-size: 16px; }
    .elp-modal input, .elp-modal textarea { padding: 12px 10px; font-size: 16px; }
    .elp-submit-btn { padding: 14px 20px; font-size: 16px; }
    .elp-detail-row { flex-direction: column; }
    .elp-label { margin-bottom: 5px; }
    .elp-btn { display: block; width: 100%; margin-bottom: 10px; }
    .elp-btn-group { flex-direction: column; }
    .elp-subscribe-form { padding: 20px; }
    .elp-total-amount { font-size: 32px; }
    .elp-header h2 { font-size: 22px; }
    .elp-subscribe-section { padding: 12px 15px !important; }
    .elp-subscribe-section form { flex-direction: column; gap: 8px !important; }
    .elp-subscribe-section input { min-width: 100% !important; max-width: 100% !important; }
    .elp-subscribe-section button { width: 100% !important; }
}
