/**
 * Nepal Trekking Budget Calculator - Premium Styles
 * Travel & Adventure Themed Design
 */

/* ========================================
   CSS Variables - Nepal Inspired Colors
   ======================================== */
:root {
    --ntbc-primary: #2563eb;
    --ntbc-primary-dark: #1e40af;
    --ntbc-secondary: #7c3aed;
    --ntbc-accent: #f59e0b;
    --ntbc-success: #10b981;
    --ntbc-mountain-blue: #4f46e5;
    --ntbc-prayer-red: #dc2626;
    --ntbc-prayer-yellow: #fbbf24;
    --ntbc-prayer-green: #059669;
    --ntbc-prayer-blue: #3b82f6;
    --ntbc-text-dark: #1f2937;
    --ntbc-text-light: #6b7280;
    --ntbc-bg-light: #f9fafb;
    --ntbc-bg-white: #ffffff;
    --ntbc-border: #e5e7eb;
    --ntbc-shadow: rgba(0, 0, 0, 0.1);
    --ntbc-shadow-lg: rgba(0, 0, 0, 0.15);
}

/* ========================================
   Main Wrapper
   ======================================== */
.ntbc-calculator-wrapper {
    max-width: 900px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ntbc-text-dark);
    line-height: 1.6;
}

/* ========================================
   Disclaimer Notice
   ======================================== */
.ntbc-disclaimer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 6px var(--ntbc-shadow);
    animation: ntbc-fade-in 0.5s ease-out;
}

.ntbc-disclaimer .ntbc-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ntbc-disclaimer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* ========================================
   Tabs Navigation
   ======================================== */
.ntbc-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ntbc-tab-btn {
    flex: 1;
    min-width: 200px;
    padding: 16px 24px;
    background: var(--ntbc-bg-white);
    border: 2px solid var(--ntbc-border);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ntbc-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ntbc-tab-btn .ntbc-icon {
    width: 20px;
    height: 20px;
}

.ntbc-tab-btn:hover {
    border-color: var(--ntbc-primary);
    color: var(--ntbc-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--ntbc-shadow);
}

.ntbc-tab-btn.active {
    background: linear-gradient(135deg, var(--ntbc-primary) 0%, var(--ntbc-mountain-blue) 100%);
    border-color: var(--ntbc-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ========================================
   Tab Content
   ======================================== */
.ntbc-tab-content {
    display: none;
    animation: ntbc-fade-in 0.4s ease-out;
}

.ntbc-tab-content.active {
    display: block;
}

/* ========================================
   Calculator Form
   ======================================== */
.ntbc-calculator-form {
    background: var(--ntbc-bg-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 3px var(--ntbc-shadow);
}

/* ========================================
   Form Sections
   ======================================== */
.ntbc-form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--ntbc-border);
}

.ntbc-form-section:last-of-type {
    border-bottom: none;
}

.ntbc-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ntbc-text-dark);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ntbc-section-title .ntbc-icon {
    width: 24px;
    height: 24px;
    color: var(--ntbc-primary);
}

/* ========================================
   Form Rows & Groups
   ======================================== */
.ntbc-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}

.ntbc-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ntbc-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ntbc-text-dark);
}

/* ========================================
   Form Inputs
   ======================================== */
.ntbc-input,
.ntbc-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--ntbc-border);
    border-radius: 8px;
    font-size: 15px;
    color: var(--ntbc-text-dark);
    background: var(--ntbc-bg-white);
    transition: all 0.2s ease;
}

.ntbc-input:focus,
.ntbc-select:focus {
    outline: none;
    border-color: var(--ntbc-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ntbc-input-small {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid var(--ntbc-border);
    border-radius: 6px;
    font-size: 14px;
}

.ntbc-help-text {
    font-size: 13px;
    color: var(--ntbc-text-light);
    font-style: italic;
}

/* ========================================
   Days Display
   ======================================== */
.ntbc-days-display {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--ntbc-primary);
    font-size: 15px;
    margin-top: 16px;
}

.ntbc-days-display strong {
    color: var(--ntbc-primary);
}

/* ========================================
   Checkbox Groups
   ======================================== */
.ntbc-checkbox-group {
    margin-bottom: 16px;
}

.ntbc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.ntbc-checkbox-label:hover {
    background: var(--ntbc-bg-light);
}

.ntbc-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--ntbc-primary);
}

.ntbc-checkbox-label span {
    font-size: 15px;
    font-weight: 500;
}

.ntbc-sub-input {
    margin-left: 30px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ntbc-sub-input label {
    font-size: 14px;
    color: var(--ntbc-text-light);
}

/* ========================================
   Info Box
   ======================================== */
.ntbc-info-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--ntbc-accent);
}

.ntbc-info-box p {
    margin: 0 0 8px 0;
    color: var(--ntbc-text-dark);
}

.ntbc-info-box strong {
    color: #92400e;
    font-size: 18px;
}

.ntbc-info-box small {
    color: #78350f;
    font-size: 13px;
}

/* ========================================
   Contact Card (Trek Pathways)
   ======================================== */
.ntbc-contact-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: ntbc-slide-in 0.4s ease-out;
}

.ntbc-contact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.ntbc-contact-header .ntbc-icon {
    width: 28px;
    height: 28px;
}

.ntbc-contact-header h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.ntbc-contact-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    opacity: 0.95;
}

.ntbc-contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.ntbc-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ntbc-contact-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
}

.ntbc-icon-small {
    width: 18px;
    height: 18px;
}

.ntbc-contact-note {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
    font-style: italic;
}

/* ========================================
   Cost Summary
   ======================================== */
.ntbc-cost-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--ntbc-border);
    margin-top: 32px;
    position: sticky;
    top: 20px;
}

.ntbc-cost-summary h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: var(--ntbc-text-dark);
    border-bottom: 2px solid var(--ntbc-border);
    padding-bottom: 12px;
}

.ntbc-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    color: var(--ntbc-text-light);
}

.ntbc-breakdown-item strong {
    color: var(--ntbc-text-dark);
    font-size: 16px;
}

.ntbc-total-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0 0;
    margin-top: 16px;
    border-top: 2px solid var(--ntbc-border);
    font-size: 18px;
    font-weight: 700;
}

.ntbc-total-cost span {
    color: var(--ntbc-text-dark);
}

.ntbc-total-cost strong {
    color: var(--ntbc-primary);
    font-size: 24px;
}

/* ========================================
   Icons
   ======================================== */
.ntbc-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* ========================================
   Animations
   ======================================== */
@keyframes ntbc-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ntbc-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .ntbc-calculator-wrapper {
        margin: 20px auto;
        padding: 0 16px;
    }

    .ntbc-calculator-form {
        padding: 20px;
    }

    .ntbc-tabs {
        flex-direction: column;
    }

    .ntbc-tab-btn {
        min-width: 100%;
    }

    .ntbc-form-row {
        grid-template-columns: 1fr;
    }

    .ntbc-cost-summary {
        position: static;
    }

    .ntbc-disclaimer {
        padding: 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ntbc-section-title {
        font-size: 16px;
    }

    .ntbc-total-cost strong {
        font-size: 20px;
    }

    .ntbc-contact-card {
        padding: 16px;
    }

    .ntbc-contact-header h4 {
        font-size: 18px;
    }
}

/* ========================================
   Price Information Section
   ======================================== */
.ntbc-price-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.ntbc-price-info-card {
    background: var(--ntbc-bg-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px var(--ntbc-shadow);
    border: 2px solid var(--ntbc-border);
    transition: all 0.3s ease;
}

.ntbc-price-info-card:hover {
    box-shadow: 0 4px 16px var(--ntbc-shadow-lg);
    transform: translateY(-2px);
}

.ntbc-price-info-card h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--ntbc-text-dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ntbc-border);
}

.ntbc-price-list {
    color: var(--ntbc-text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* ========================================
   Promotional Section
   ======================================== */
.ntbc-promotional-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    animation: ntbc-fade-in 0.6s ease-out;
}

.ntbc-promo-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ntbc-promo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    stroke-width: 2;
}

.ntbc-promo-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.ntbc-promo-text {
    font-size: 16px;
    margin: 0 0 24px 0;
    opacity: 0.95;
    line-height: 1.6;
}

.ntbc-payment-info {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: ntbc-fade-in 0.8s ease-out;
}

.ntbc-payment-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ntbc-payment-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.ntbc-payment-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
}

.ntbc-payment-text strong {
    font-weight: 700;
    font-size: 16px;
}

.ntbc-promo-disclaimer {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
    animation: ntbc-fade-in 1s ease-out;
}

.ntbc-promo-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ntbc-promo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ntbc-promo-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .ntbc-tabs {
        display: none;
    }

    .ntbc-tab-content {
        display: block !important;
    }

    .ntbc-cost-summary {
        position: static;
        page-break-inside: avoid;
    }
}