/* ============================================================
   CREATE TAB - PREMIUM STYLING
   Dark Theme with Gold Accents matching Instant AI & Settings
   ============================================================ */

/* Create Tab Container */
#createTourTab .tab-view-container {
    background: linear-gradient(180deg, #0a0a0c 0%, #000000 100%);
}

#createTourTab .tab-header {
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.98) 0%, rgba(0, 0, 0, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#createTourTab .tab-title {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Credits Display in Header */
#createTourTab .credits-display-header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 165, 0, 0.06) 100%);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

#createTourTab .credits-display-header .credits-amount {
    color: #FFD700;
}

/* Ready-to-Use Tours Button - Already Gold, enhance it */
#createTourTab .ready-tours-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.25);
    transition: all 0.3s ease;
}

#createTourTab .ready-tours-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
}

#createTourTab .ready-tours-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

#createTourTab .ready-tours-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: 10px;
}

/* Section Header */
#createTourTab .create-section-header .section-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Labels */
#createTourTab .form-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Form Inputs - Premium Style */
#createTourTab .form-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #ffffff;
    padding: 16px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
}

#createTourTab .form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

#createTourTab .form-input:focus {
    outline: none;
    border-color: rgba(0, 102, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

/* More Options Toggle - Blue Accent */
#createTourTab .more-options-toggle {
    color: #0066FF;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.2s ease;
}

#createTourTab .more-options-toggle:hover {
    color: #3385ff;
    opacity: 1;
}

#createTourTab .more-options-toggle .chevron-icon {
    color: #0066FF;
}

/* Generate Button - Blue */
#createTourTab .generate-btn {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#createTourTab .generate-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: 0.5s;
}

#createTourTab .generate-btn:hover::before {
    left: 100%;
}

#createTourTab .generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.4);
}

#createTourTab .generate-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

#createTourTab .generate-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
    cursor: not-allowed;
}

#createTourTab .generate-btn:disabled::before {
    display: none;
}

/* Credit Cost Display */
#createTourTab .credit-cost-display {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: 10px;
}

#createTourTab .credit-cost-display.premium {
    color: #FFD700;
}

/* OR Divider */
#createTourTab .or-divider {
    margin: 20px 0;
}

#createTourTab .divider-line {
    background: rgba(255, 255, 255, 0.1);
}

#createTourTab .divider-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* Use Code Button */
#createTourTab .use-code-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.9);
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#createTourTab .use-code-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

#createTourTab .use-code-btn svg {
    color: #0066FF;
}

/* Code Input */
#createTourTab .code-input-container .form-input {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-align: center;
}

#createTourTab .redeem-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0d0d1a;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

#createTourTab .redeem-btn:hover {
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Inspiration Section */
#createTourTab .inspiration-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    margin-top: 28px;
}

#createTourTab .inspiration-section h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Inspiration Cards - Premium Glass */
#createTourTab .inspiration-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#createTourTab .inspiration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#createTourTab .inspiration-card:hover::before {
    opacity: 1;
}

#createTourTab .inspiration-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

#createTourTab .inspiration-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

#createTourTab .inspiration-card h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Example Tags */
#createTourTab .example-tag {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    padding: 6px 12px;
    transition: all 0.2s ease;
}

#createTourTab .example-tag:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.4);
    color: #ffffff;
}

/* Form Section Spacing */
#createTourTab .form-section {
    margin-bottom: 20px;
}

/* Tour Form Container */
#createTourTab .tour-form {
    padding: 0 20px;
}

/* Scrollbar */
#createTourTab .tab-scroll-content::-webkit-scrollbar {
    width: 6px;
}

#createTourTab .tab-scroll-content::-webkit-scrollbar-track {
    background: transparent;
}

#createTourTab .tab-scroll-content::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 255, 0.3);
    border-radius: 3px;
}

#createTourTab .tab-scroll-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 255, 0.5);
}

/* Loading State */
#createTourTab .generate-btn.loading {
    pointer-events: none;
}

#createTourTab .generate-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(13, 13, 26, 0.3);
    border-top-color: #0d0d1a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

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

/* Responsive */
@media (max-width: 400px) {
    #createTourTab .form-input {
        padding: 14px 16px;
    }

    #createTourTab .generate-btn {
        padding: 16px 20px;
        font-size: 16px;
    }

    #createTourTab .ready-tours-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    #createTourTab .inspiration-card {
        padding: 16px;
    }
}
