/* Elite Cash Practice Growth Calculator Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0b0d;
    overflow: hidden;
}

/* Calculator Widget Container */
.cash-practice-calculator {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 10000;
    font-family: inherit;
}

/* Calculator Toggle Button */
.calc-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.calc-toggle-content {
    position: relative;
    background: linear-gradient(135deg, #E3AC17 0%, #F4D03F 50%, #E3AC17 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 32px rgba(227, 172, 23, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.calc-toggle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(227, 172, 23, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.4);
}

.calc-toggle i {
    font-size: 20px;
    color: #000;
    margin-bottom: 2px;
    font-weight: 600;
}

.calc-label {
    font-size: 9px;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Pulsing Animation */
.calc-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(227, 172, 23, 0.6);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Calculator Panel */
.calc-panel {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 450px;
    max-height: 80vh;
    background: linear-gradient(145deg, #1a1d23 0%, #252a35 100%);
    border-radius: 20px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 8px 30px rgba(227, 172, 23, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(227, 172, 23, 0.2);
    transform: translateX(500px) scale(0.8);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.calc-panel.active {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Header */
.calc-header {
    background: linear-gradient(135deg, #E3AC17 0%, #F4D03F 50%, #E3AC17 100%);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.calc-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.calc-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.calc-logo {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.calc-logo i {
    font-size: 18px;
    color: #000;
}

.calc-title-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.calc-subtitle {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
    margin-top: 2px;
}

.calc-close {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.calc-header-badge {
    text-align: center;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

.calc-header-badge span {
    background: rgba(0, 0, 0, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Progress Bar */
.calc-progress {
    padding: 20px 20px 10px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #E3AC17, #F4D03F);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Content Area */
.calc-content {
    overflow-y: auto;
    max-height: calc(80vh - 120px);
    padding-bottom: 20px;
}

.calc-content::-webkit-scrollbar {
    width: 6px;
}

.calc-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.calc-content::-webkit-scrollbar-thumb {
    background: rgba(227, 172, 23, 0.3);
    border-radius: 3px;
}

/* Stage Selection */
.calc-stage-selection {
    padding: 20px;
}

.calc-stage-label {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    display: block;
}

.calc-stage-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.5;
}

.calc-stage-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calc-stage-btn {
    background: linear-gradient(145deg, #2a2f3a 0%, #353b48 100%);
    border: 2px solid rgba(227, 172, 23, 0.2);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.calc-stage-btn:hover,
.calc-stage-btn.active {
    border-color: #E3AC17;
    background: linear-gradient(145deg, #353b48 0%, #2a2f3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 172, 23, 0.2);
}

.stage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E3AC17, #F4D03F);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.stage-icon i {
    font-size: 20px;
    color: #000;
}

.stage-content {
    flex: 1;
}

.stage-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stage-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.stage-content ul {
    list-style: none;
}

.stage-content li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3px;
    position: relative;
    padding-left: 15px;
}

.stage-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E3AC17;
    font-weight: bold;
}

.stage-arrow {
    color: #E3AC17;
    font-size: 16px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.calc-stage-btn:hover .stage-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Form Styles */
.calc-form-container {
    padding: 20px;
}

/* Form Header */
.calc-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(227, 172, 23, 0.1) 0%, rgba(241, 196, 15, 0.05) 100%);
    border: 1px solid rgba(227, 172, 23, 0.2);
    position: relative;
}

.calc-form-header h4 {
    color: #E3AC17;
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
}

.calc-form-header p {
    color: #CCCCCC;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Go Back Button */
.calc-back-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(227, 172, 23, 0.3);
    color: #E3AC17;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-back-btn:hover {
    background: rgba(227, 172, 23, 0.1);
    border-color: #E3AC17;
    transform: translateX(-2px);
    color: #F1C40F;
}

.calc-back-btn i {
    font-size: 10px;
}

.calc-input-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.calc-input-group {
    position: relative;
}

.calc-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.calc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #E3AC17;
    z-index: 2;
}

.calc-input-wrapper input {
    width: 100%;
    padding: 15px 20px;
    padding-left: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.calc-input-wrapper input:not([name*="admin"]):not([name*="noShows"]):not([name*="managementHours"]):not([name*="lostRevenue"]) {
    padding-left: 35px;
}

.calc-input-wrapper input[name*="admin"],
.calc-input-wrapper input[name*="noShows"],
.calc-input-wrapper input[name*="managementHours"],
.calc-input-wrapper input[name*="lostRevenue"] {
    padding-left: 20px;
}

.calc-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.calc-input-wrapper input:focus {
    outline: none;
    border-color: #E3AC17;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(227, 172, 23, 0.1);
}

.input-tooltip {
    position: absolute;
    right: 15px;
    width: 20px;
    height: 20px;
    background: rgba(227, 172, 23, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #E3AC17;
    cursor: help;
    z-index: 3;
}

/* Submit Button */
.calc-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #E3AC17 0%, #F4D03F 50%, #E3AC17 100%);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.calc-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(227, 172, 23, 0.4);
}

.calc-submit-btn i {
    margin-right: 8px;
}

/* Results Styles */
.calc-results {
    padding: 20px;
}

.results-header {
    text-align: center;
    margin-bottom: 25px;
}

.results-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E3AC17, #F4D03F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    animation: trophy-bounce 2s ease-in-out infinite;
}

@keyframes trophy-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.results-icon i {
    font-size: 24px;
    color: #000;
}

.results-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.results-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.result-card {
    background: linear-gradient(145deg, #2a2f3a 0%, #353b48 100%);
    border: 2px solid rgba(227, 172, 23, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 172, 23, 0.1), transparent);
    transition: left 0.5s ease;
}

.result-card:hover::before {
    left: 100%;
}

.result-card.primary {
    border-color: #E3AC17;
    background: linear-gradient(145deg, #3a3017 0%, #48391a 100%);
}

.result-card.secondary {
    border-color: #6C63FF;
    background: linear-gradient(145deg, #2a2635 0%, #353048 100%);
}

.result-card.tertiary {
    border-color: #27AE60;
    background: linear-gradient(145deg, #1f352a 0%, #244030 100%);
}

.result-card.freedom {
    border-color: #E74C3C;
    background: linear-gradient(145deg, #3c1f1f 0%, #482424 100%);
}

.result-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.result-value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1;
}

.result-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.result-description {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

/* Results Summary */
.results-summary {
    background: linear-gradient(145deg, #2a2f3a 0%, #353b48 100%);
    border: 2px solid rgba(227, 172, 23, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.summary-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E3AC17, #F4D03F);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-icon i {
    font-size: 18px;
    color: #000;
}

.summary-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.summary-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* CTA Section */
.results-cta {
    text-align: center;
}

.calc-cta-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #E3AC17 0%, #F4D03F 50%, #E3AC17 100%);
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.calc-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227, 172, 23, 0.5);
}

.calc-cta-btn i {
    margin-right: 10px;
}

.cta-subtext {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    display: block;
}

.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.proof-avatars {
    display: flex;
    gap: -8px;
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E3AC17, #F4D03F);
    border: 2px solid #1a1d23;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #000;
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .calc-panel {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 110px;
        max-height: 70vh;
    }
    
    .calc-toggle {
        bottom: 20px;
        right: 20px;
    }
    
    .calc-toggle-content {
        width: 60px;
        height: 60px;
    }
    
    .calc-toggle i {
        font-size: 18px;
    }
    
    .calc-label {
        font-size: 8px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-stage-options {
        gap: 12px;
    }
    
    .calc-stage-btn {
        padding: 15px;
    }
    
    .stage-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .stage-content h4 {
        font-size: 14px;
    }
    
    .stage-content p {
        font-size: 12px;
    }
    
    .stage-content li {
        font-size: 11px;
    }
    
    .calc-back-btn {
        position: static;
        margin: 10px auto 0 auto;
        align-self: flex-start;
    }
    
    .calc-form-header {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .calc-panel {
        width: 100vw;
        right: 0;
        bottom: 0;
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
    }
    
    .calc-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .calc-close {
        position: absolute;
        top: 0;
        right: 0;
    }
} 