/* ===========================
   TOUCHSCREEN FULLSCREEN STYLES
   =========================== */

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.vcp-fullscreen-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    z-index: 999999;
}

/* Progress Bar */
.vcp-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.vcp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80, #22d3ee);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.6);
}

.vcp-step-counter {
    position: fixed;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

/* Container */
.vcp-touchscreen-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px 40px;
}

/* Brand Header */
.vcp-brand-header {
    text-align: center;
    margin-bottom: 40px;
}

.vcp-main-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin: 0 0 12px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.vcp-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
}

/* Form */
.vcp-step-form {
    width: 100%;
    max-width: 1000px;
}

/* Steps */
.vcp-step {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.vcp-step.active {
    display: block;
}

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

.vcp-step-content {
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 500px;
}

.vcp-step-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.vcp-step-description {
    font-size: 20px;
    color: #64748b;
    margin: 0 0 48px 0;
}

/* Welcome Screen */
.vcp-welcome-screen {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vcp-welcome-icon {
    font-size: 120px;
    margin-bottom: 24px;
}

.vcp-welcome-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
    width: 100%;
}

.vcp-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #475569;
}

.vcp-feature-icon {
    font-size: 36px;
    color: #22c55e;
}

/* Option Cards */
.vcp-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.vcp-country-grid {
    grid-template-columns: repeat(3, 1fr);
}

.vcp-binary-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.vcp-options-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.vcp-option-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vcp-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vcp-card-content {
    background: #f8fafc;
    border: 3px solid transparent;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vcp-option-card input:checked + .vcp-card-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.vcp-option-card:hover .vcp-card-content {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.vcp-option-card input:checked + .vcp-card-content .vcp-option-title,
.vcp-option-card input:checked + .vcp-card-content .vcp-option-subtitle,
.vcp-option-card input:checked + .vcp-card-content .vcp-flag,
.vcp-option-card input:checked + .vcp-card-content .vcp-option-icon {
    color: white;
}

.vcp-flag {
    font-size: 64px;
    margin-bottom: 16px;
}

.vcp-option-icon {
    font-size: 48px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.vcp-icon-large {
    font-size: 72px !important;
}

.vcp-option-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    transition: color 0.3s;
}

.vcp-option-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 8px 0 0 0;
    transition: color 0.3s;
}

/* Horizontal Options */
.vcp-option-horizontal .vcp-card-content {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    padding: 28px 32px;
}

.vcp-option-horizontal .vcp-option-icon {
    font-size: 40px;
    margin: 0;
}

.vcp-option-large .vcp-card-content {
    padding: 48px 32px;
}

/* Input Fields */
.vcp-input-wrapper {
    margin-bottom: 40px;
}

.vcp-large-input .vcp-input-group {
    position: relative;
    margin-bottom: 16px;
}

.vcp-number-input {
    width: 100%;
    font-size: 72px;
    font-weight: 700;
    color: #1e293b;
    border: none;
    border-bottom: 4px solid #e2e8f0;
    padding: 20px 0;
    text-align: center;
    background: transparent;
    transition: border-color 0.3s;
}

.vcp-number-input:focus {
    outline: none;
    border-bottom-color: #667eea;
}

.vcp-input-label {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #64748b;
    margin-top: 12px;
}

.vcp-input-help {
    text-align: center;
    font-size: 16px;
    color: #94a3b8;
    margin: 12px 0 0 0;
}

/* Quick Select Buttons */
.vcp-quick-select {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.vcp-quick-btn {
    padding: 16px 32px;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    color: #475569;
}

.vcp-quick-btn:hover {
    border-color: #667eea;
    background: #f8fafc;
    transform: translateY(-2px);
}

.vcp-quick-btn:active {
    transform: translateY(0);
}

/* Buttons */
.vcp-btn {
    padding: 20px 40px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    min-width: 160px !important;
}

.vcp-btn-large {
    padding: 24px 48px;
    font-size: 24px;
    min-width: 240px;
}

.vcp-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.vcp-btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.vcp-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.vcp-btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.vcp-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.vcp-btn-success:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.vcp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.vcp-arrow {
    font-size: 24px;
    transition: transform 0.3s;
}

.vcp-btn:hover .vcp-arrow {
    transform: translateX(4px);
}

.vcp-prev-btn:hover .vcp-arrow {
    transform: translateX(-4px);
}

/* Navigation Buttons */
.vcp-navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    gap: 20px;
}

/* Spinner */
.vcp-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* Results Screen */
.vcp-results-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px 40px;
}

.vcp-results-container {
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.vcp-results-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
    margin: 0 0 48px 0;
}

.vcp-score-display {
    text-align: center;
    padding: 48px;
    border-radius: 20px;
    margin-bottom: 48px;
}

.vcp-score-very-high {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.vcp-score-high {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.vcp-score-moderate {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.vcp-score-low {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.vcp-score-circle-large {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.vcp-circular-progress {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.vcp-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 12;
}

.vcp-circle-progress {
    fill: none;
    stroke: white;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1s ease-out;
}

.vcp-score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.vcp-score-number {
    font-size: 64px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.vcp-score-label {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

/* Analysis Content */
.vcp-analysis-content {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
}

.vcp-analysis-heading {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 40px 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #667eea;
}

.vcp-analysis-heading:first-child {
    margin-top: 0;
}

.vcp-analysis-content h4 {
    font-size: 24px;
    font-weight: 600;
    color: #475569;
    margin: 24px 0 16px 0;
}

.vcp-analysis-content ul {
    padding-left: 24px;
    margin: 20px 0;
}

.vcp-analysis-content li {
    margin-bottom: 16px;
    line-height: 1.8;
}

.vcp-analysis-content strong {
    color: #1e293b;
    font-weight: 700;
}

/* Disclaimer */
.vcp-disclaimer-box {
    background: #fef3c7;
    border-left: 6px solid #f59e0b;
    border-radius: 12px;
    padding: 24px;
    margin-top: 48px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.vcp-disclaimer-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.vcp-disclaimer-text {
    font-size: 16px;
    color: #92400e;
    line-height: 1.6;
}

/* Results Footer */
.vcp-results-footer {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 48px;
}

/* Idle Overlay */
.vcp-idle-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.vcp-idle-content {
    text-align: center;
    color: white;
}

.vcp-idle-icon {
    font-size: 120px;
    margin-bottom: 32px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Toast Notification */
.vcp-toast-error {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.4);
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vcp-toast-error.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


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

.vcp-idle-content h2 {
    font-size: 48px;
    margin: 0 0 16px 0;
}

.vcp-idle-content p {
    font-size: 24px;
    margin: 0;
}

#vcp-countdown {
    font-weight: 700;
    font-size: 32px;
    color: #f59e0b;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .vcp-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vcp-step-content {
        padding: 40px;
    }
    
    .vcp-step-title {
        font-size: 36px;
    }
}

/* Responsive - Mobile (shouldn't happen on touch screen kiosk) */
@media (max-width: 768px) {
    .vcp-main-title {
        font-size: 36px;
    }
    
    .vcp-subtitle {
        font-size: 18px;
    }
    
    .vcp-step-content {
        padding: 32px;
        min-height: auto;
    }
    
    .vcp-step-title {
        font-size: 28px;
    }
    
    .vcp-step-description {
        font-size: 16px;
    }
    
    .vcp-options-grid,
    .vcp-binary-options,
    .vcp-welcome-features {
        grid-template-columns: 1fr;
    }
    
    .vcp-number-input {
        font-size: 48px;
    }
}