/* Global Transport Booking Plugin - Enhanced Elegant Design */
.gtb-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.gtb-form-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
}

.gtb-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899, #f59e0b);
}

.gtb-header {
    text-align: center;
    padding: 40px 32px 32px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.gtb-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: gtb-float 6s ease-in-out infinite;
}

@keyframes gtb-float {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.gtb-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.gtb-logo {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: gtb-pulse 2s infinite;
}

@keyframes gtb-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.gtb-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.gtb-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.gtb-form {
    padding: 40px 32px;
}

/* Section Styling */
.gtb-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gtb-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gtb-section:hover::before {
    opacity: 1;
}

.gtb-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gtb-section-title {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.gtb-section-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.gtb-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gtb-time-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gtb-form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.gtb-full-width {
    grid-column: 1 / -1;
}

.gtb-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.gtb-icon {
    margin-right: 8px;
    font-size: 1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.gtb-input,
.gtb-select,
.gtb-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
    font-family: inherit;
    position: relative;
}

.gtb-input:focus,
.gtb-select:focus,
.gtb-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.gtb-input:hover,
.gtb-select:hover,
.gtb-textarea:hover {
    border-color: #94a3b8;
    background: white;
}

.gtb-select:disabled {
    background-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.gtb-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.gtb-submit-wrapper {
    text-align: center;
    margin-top: 32px;
}

.gtb-submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    font-family: inherit;
    overflow: hidden;
}

.gtb-submit-btn::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 ease;
}

.gtb-submit-btn:hover::before {
    left: 100%;
}

.gtb-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.gtb-submit-btn:active {
    transform: translateY(0);
}

.gtb-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.gtb-btn-icon {
    margin-right: 8px;
    font-size: 1rem;
}

.gtb-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: gtb-spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes gtb-spin {
    to {
        transform: rotate(360deg);
    }
}

.gtb-terms {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    text-align: center;
}

.gtb-help-text {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

.gtb-success-message {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.gtb-success-content {
    max-width: 450px;
    margin: 0 auto;
}

.gtb-success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: gtb-bounce 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes gtb-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    60% {
        transform: translateY(-6px);
    }
}

.gtb-success-message h3 {
    color: #1f2937;
    font-size: 1.75rem;
    margin: 0 0 16px 0;
    font-weight: 800;
}

.gtb-success-message p {
    color: #6b7280;
    margin: 0 0 28px 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Booking Method Buttons */
.gtb-booking-methods {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.gtb-method-btn {
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 180px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.gtb-method-btn::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 ease;
}

.gtb-method-btn:hover::before {
    left: 100%;
}

.gtb-method-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.gtb-whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.gtb-whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.gtb-email-btn {
    background: linear-gradient(135deg, #ea4335 0%, #d33b2c 100%);
    color: white;
}

.gtb-email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(234, 67, 53, 0.4);
}

.gtb-method-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.gtb-method-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.gtb-method-text strong {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.gtb-method-text small {
    font-size: 0.85rem;
    opacity: 0.9;
}

.gtb-book-again-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.gtb-book-again-btn::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 ease;
}

.gtb-book-again-btn:hover::before {
    left: 100%;
}

.gtb-book-again-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.gtb-refresh-icon {
    margin-right: 8px;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gtb-container {
        padding: 16px;
    }
    
    .gtb-header {
        padding: 32px 24px 24px 24px;
    }
    
    .gtb-brand {
        flex-direction: column;
        gap: 8px;
    }
    
    .gtb-logo {
        font-size: 2rem;
    }
    
    .gtb-title {
        font-size: 1.75rem;
    }
    
    .gtb-subtitle {
        font-size: 1rem;
    }
    
    .gtb-form {
        padding: 32px 24px;
    }
    
    .gtb-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .gtb-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .gtb-time-grid {
        grid-template-columns: 1fr;
    }
    
    .gtb-submit-btn {
        width: 100%;
        padding: 16px 24px;
    }
    
    .gtb-booking-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .gtb-method-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .gtb-success-message {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .gtb-header {
        padding: 24px 20px 20px 20px;
    }
    
    .gtb-logo {
        font-size: 1.75rem;
    }
    
    .gtb-title {
        font-size: 1.5rem;
    }
    
    .gtb-subtitle {
        font-size: 0.95rem;
    }
    
    .gtb-form {
        padding: 24px 20px;
    }
    
    .gtb-section {
        padding: 16px;
    }
    
    .gtb-input,
    .gtb-select,
    .gtb-textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .gtb-method-content {
        padding: 16px 20px;
        gap: 12px;
    }
    
    .gtb-method-icon {
        font-size: 1.5rem;
    }
    
    .gtb-method-text strong {
        font-size: 0.95rem;
    }
    
    .gtb-method-text small {
        font-size: 0.8rem;
    }
    
    .gtb-success-message {
        padding: 32px 20px;
    }
}

/* Enhanced animations */
.gtb-form-group {
    animation: gtb-fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.gtb-form-group:nth-child(1) { animation-delay: 0.1s; }
.gtb-form-group:nth-child(2) { animation-delay: 0.2s; }
.gtb-form-group:nth-child(3) { animation-delay: 0.3s; }
.gtb-form-group:nth-child(4) { animation-delay: 0.4s; }
.gtb-form-group:nth-child(5) { animation-delay: 0.5s; }
.gtb-form-group:nth-child(6) { animation-delay: 0.6s; }

@keyframes gtb-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gtb-section {
    animation: gtb-slideIn 0.6s ease-out;
    animation-fill-mode: both;
}

.gtb-section:nth-child(1) { animation-delay: 0.1s; }
.gtb-section:nth-child(2) { animation-delay: 0.2s; }
.gtb-section:nth-child(3) { animation-delay: 0.3s; }
.gtb-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes gtb-slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Error styling */
.gtb-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
    background-color: #fef2f2 !important;
    animation: gtb-shake 0.5s ease-in-out;
}

.gtb-error:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2) !important;
}

.gtb-error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    animation: gtb-fadeIn 0.3s ease-in-out;
}

.gtb-error-message::before {
    content: "⚠️";
    margin-right: 0.5rem;
}

@keyframes gtb-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes gtb-fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading state improvements */
.gtb-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
}

/* Better mobile responsiveness */
@media (max-width: 360px) {
    .gtb-container {
        padding: 12px;
    }
    
    .gtb-header {
        padding: 20px 16px 16px 16px;
    }
    
    .gtb-form {
        padding: 20px 16px;
    }
    
    .gtb-section {
        padding: 12px;
        margin-bottom: 16px;
    }
}