:root {
    --primary-bg: #0a0a0b;
    --secondary-bg: #1a1a1b;
    --card-bg: #242529;
    --accent-bg: #2d2d31;
    --primary-text: #ffffff;
    --secondary-text: #a8a8a8;
    --muted-text: #6b6b6b;
    --accent-color: #00d4ff;
    --success-color: #00ff88;
    --warning-color: #ff9500;
    --error-color: #ff3366;
    --border-color: #333333;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1a1a2e 100%);
    color: var(--primary-text);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 98% !important;
    margin: 0 auto;
    padding: 20px;
}

.guest-container {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.calculator-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.calculator-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-control, .form-select {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    background-color: var(--secondary-bg);
    border-color: var(--accent-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 204, 0.25);
}

.form-select option {
    background-color: var(--secondary-bg);
    color: var(--text-primary);
}

.range-container {
    position: relative;
    margin: 1rem 0;
}

.form-range {
    background: transparent;
    height: 6px;
}

.form-range::-webkit-slider-track {
    background: var(--border-color);
    height: 6px;
    border-radius: 3px;
}

.form-range::-webkit-slider-thumb {
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    margin-top: -7px;
}

.form-range::-moz-range-track {
    background: var(--border-color);
    height: 6px;
    border-radius: 3px;
    border: none;
}

.form-range::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    border: none;
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.current-value {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.rate-type-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.rate-type-btn {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    background-color: var(--secondary-bg);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
}

.rate-type-btn.active {
    border-color: var(--accent-color);
    background-color: rgba(0, 255, 204, 0.1);
    color: var(--accent-color);
}

.rate-type-btn:hover {
    border-color: var(--accent-color);
}

.cost-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, #2a4a4a 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 2rem;
    height: fit-content;
}
.cost-card span.text-muted{
  color:#ccc !important;
  text-align: left !important;
}

.cost-card h3 {
    color: var(--accent-color);
    margin-bottom: 1px;
    font-size: 1.5rem;
}

.cost-display {
    text-align: center;
    margin: 2rem 0;
}

.cost-amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.cost-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.cost-breakdown {
    margin-top: 2rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breakdown-item:last-child {
    border-bottom: none;
    font-weight: bold;
    color: var(--accent-color);
}

.breakdown-label {
    color: var(--text-secondary);
}

.breakdown-value {
    color: var(--text-primary);
    font-weight: 600;
}

.info-icon {
    color: var(--accent-color);
    cursor: help;
}

.tooltip-inner {
    background-color: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.tooltip .tooltip-arrow::before {
    border-top-color: var(--card-bg);
}

@media (max-width: 768px) {
    .calculator-header h1 {
        font-size: 2rem;
    }
    
    .cost-amount {
        font-size: 2.5rem;
    }
    
    .rate-type-buttons {
        flex-direction: column;
    }
    
    .cost-card {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


.guest-container .faq-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border-color);
}

.guest-container .faq-header {
    text-align: center;
    margin-bottom: 32px;
}

.guest-container .faq-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.guest-container .faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.guest-container .faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--primary-text);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.guest-container .faq-question:hover {
    color: var(--accent-color);
}

.guest-container .faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.guest-container .faq-question.active::after {
    transform: rotate(45deg);
}

.guest-container .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--secondary-text);
    line-height: 1.6;
}

.guest-container .faq-answer.active {
    max-height: 200px;
    padding-bottom: 20px;
}

.guest-container .terms-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.guest-container .terms-header {
    text-align: center;
    margin-bottom: 24px;
}

.guest-container .terms-list {
    color: var(--secondary-text);
    line-height: 1.7;
}

.guest-container .terms-list li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.guest-container .info-tooltip {
    position: relative;
    cursor: help;
    color: var(--accent-color);
    margin-left: 8px;
}

.guest-container .info-tooltip::after {
    content: '?';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 16px;
}

.guest-container .animate-fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.guest-container .pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}