/* Rose Angina Questionnaire Styles - Matching Main App Design */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0D1B2A 0%, #008891 100%) fixed;
    min-height: 100vh;
    top: 0px !important;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html {
    height: 100%;
}

body, html {
    min-height: 100%;
}

/* Header */
.header-logo {
    height: 60px;
    width: auto;
}

header {
    text-align: center;
    padding: 1.5rem 0;
}

.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0.5rem;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 500;
    background: linear-gradient(45deg, #FFB703, #FB8500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

header .subtitle {
    font-size: 1rem;
    color: #E0E0E0;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.subtitle-bold {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
}



/* Main Content */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding-top: 1rem;
}

/* Selection Panel (Questionnaire Panel) */
.selection-panel {
    width: 100%;
    max-width: 800px;
    background: rgba(248, 249, 250, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Progress Section */
.progress-section {
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.progress-percentage {
    font-size: 0.8rem;
    color: #6c757d;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFB703, #FB8500);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Question Section */
.question-section {
    margin-bottom: 30px;
}

.question-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

/* Help Button Styles */
.help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #4dabf7;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: all 0.2s ease;
    vertical-align: middle;
    flex-shrink: 0;
}

.help-button:hover {
    background-color: #3c99e6;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(77, 171, 247, 0.3);
}

.help-button:active {
    transform: scale(0.95);
}

/* Help Popup Modal Styles */
.help-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-in-out;
}

.help-popup-overlay.show {
    display: flex;
}

.help-popup {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

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

.help-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.help-popup-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-popup-title i {
    color: #4dabf7;
}

.help-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.help-popup-close:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
}

.help-popup-content {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.question-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.multi-question-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* Multi-question page styles */
.multi-question-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4dabf7;
}

.multi-question-item:last-child {
    margin-bottom: 0;
}

.multi-question-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
    flex: 1;
}

.multi-question-number {
    color: #4dabf7;
    font-weight: 700;
    margin-right: 8px;
}

/* Terms and Conditions Section */
.terms-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.checkbox-item {
    margin-bottom: 15px;
}

.checkbox-item:last-child {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    border: 2px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkbox-input:checked + .checkbox-custom {
    background-color: #4dabf7;
    border-color: #4dabf7;
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    color: #2c3e50;
    font-weight: 500;
}

.checkbox-label:hover .checkbox-custom {
    border-color: #4dabf7;
    box-shadow: 0 0 0 2px rgba(77, 171, 247, 0.1);
}

/* Slider Styles */
.slider-container {
    width: 100%;
    padding: 20px 0;
}

.slider-wrapper {
    position: relative;
    margin: 20px 0;
}

.slider-input {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4dabf7;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.slider-input::-webkit-slider-thumb:hover {
    background: #3c99e6;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-input::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4dabf7;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.slider-input::-moz-range-thumb:hover {
    background: #3c99e6;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-labels {
    position: relative;
    width: 100%;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #6c757d;
    min-height: 50px;
    padding-top: 10px;
}

.slider-label {
    text-align: center;
    line-height: 1.2;
}

.slider-value-display {
    text-align: center;
    margin: 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4dabf7;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

/* Multi-Select Styles */
.multi-select-item {
    margin-bottom: 10px;
}

.multi-select-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.multi-select-label:hover {
    background-color: #f8f9fa;
}

.other-symptoms-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.other-symptoms-list {
    width: 100%;
}

.multi-select-checkbox {
    position: absolute;
    opacity: 0;
}

.multi-select-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    border: 2px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    pointer-events: none;
}

.multi-select-checkbox:checked + .multi-select-custom {
    background-color: #4dabf7;
    border-color: #4dabf7;
}

.multi-select-checkbox:checked + .multi-select-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.multi-select-text {
    color: #2c3e50;
    font-weight: 500;
    pointer-events: none;
}

.multi-select-label:hover .multi-select-custom {
    border-color: #4dabf7;
    box-shadow: 0 0 0 2px rgba(77, 171, 247, 0.1);
}

/* Voice Recording Styles */
.voice-recording-container {
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.recording-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.record-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background-color: #dc3545;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.record-button:hover {
    background-color: #c82333;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.record-button.recording {
    background-color: #28a745;
    animation: pulse 1.5s infinite;
}

.record-button.recording:hover {
    background-color: #218838;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.stop-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #6c757d;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stop-button:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

.recording-status {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 15px 0;
}

.recording-timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    margin: 10px 0;
}

.recording-timer.warning {
    color: #ffc107;
}

.recording-timer.danger {
    color: #dc3545;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.audio-player {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.audio-player audio {
    width: 100%;
    max-width: 400px;
}

.recording-instructions {
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin: 20px 0;
    text-align: left;
}

.recording-instructions h4 {
    color: #0d47a1;
    font-size: 1rem;
    margin-bottom: 8px;
}

.recording-instructions p {
    color: #1565c0;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Answer Options */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.answer-btn {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
}

.answer-btn:hover {
    border-color: #4dabf7;
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.answer-btn.selected {
    border-color: #4dabf7;
    background-color: #4dabf740;
    color: #2c3e50;
}

.answer-content {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.radio-button {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    border-radius: 50%;
    border: 2px solid #ced4da;
    background-color: #fff;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.answer-btn.selected .radio-button {
    border-color: #4dabf7;
    background-color: #4dabf7;
}

.radio-inner {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    max-width: 8px;
    max-height: 8px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.answer-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    flex: 1;
    word-wrap: break-word;
}

/* Input Fields */
.answer-input {
    width: 75%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
    font-family: inherit;
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.2s ease;
    outline: none;
}

.answer-input:focus {
    border-color: #4dabf7;
    background-color: #f8f9fa;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
}

.answer-input:hover {
    border-color: #4dabf7;
    background-color: #f8f9fa;
}

.answer-input::placeholder {
    color: #6c757d;
    font-style: italic;
}

/* Chest Diagram */
.chest-diagram-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.torso-diagram-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
    cursor: crosshair;
}

.torso-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.pain-circles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pain-circle {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #dc3545;
    border: 2px solid #b02a37;
    cursor: pointer;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pain-circle:hover {
    background-color: #c82333;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.selected-areas-summary {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #e9ecef;
    border-radius: 6px;
    border-left: 4px solid #4dabf7;
    text-align: center;
}

.diagram-instructions {
    margin-top: 20px;
    text-align: center;
}

.instruction-text {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1rem;
}



.instruction-note {
    font-size: 0.75rem;
    color: #6c757d;
    font-style: italic;
}

/* Navigation Section */
.navigation-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.nav-button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button:not(.disabled) {
    background: linear-gradient(45deg, #00B4D8, #0F9D9D);
    color: #fff;
    border: none;
}

.nav-button:not(.disabled):hover {
    background: linear-gradient(45deg, #00D4F8, #00B4D8);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 180, 216, 0.4);
}

.nav-button.disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #6c757d;
    cursor: not-allowed;
}

/* Results Container */
.results-container {
    width: 100%;
    max-width: 800px;
    background: rgba(248, 249, 250, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 30px;
}

.results-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.results-icon {
    font-size: 64px;
    color: #FFB703;
    margin-bottom: 20px;
}

.results-header h2 {
    background: linear-gradient(45deg, #FFB703, #FB8500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    margin-bottom: 10px;
}

.results-subtitle {
    color: #666;
    font-size: 16px;
}

.results-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}



.important-note {
    background-color: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.important-note h4 {
    color: #0d47a1;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.important-note p {
    color: #1565c0;
    line-height: 1.6;
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.action-button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-button.primary {
    background: linear-gradient(45deg, #FFB703, #FB8500);
    color: #0D1B2A;
}

.action-button.primary:hover {
    background: linear-gradient(45deg, #FFDD00, #FFB703);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 183, 3, 0.4);
}

.action-button.secondary {
    background: linear-gradient(45deg, #00B4D8, #0F9D9D);
    color: #F8F9FA;
}

.action-button.secondary:hover {
    background: linear-gradient(45deg, #00D4F8, #00B4D8);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 180, 216, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    color: #E0E0E0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

footer p {
    color: #E0E0E0;
    opacity: 0.7;
    font-size: 0.9rem;
}

.warning-box {
    padding: 0 10%;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    border-radius: 5px;
}

.warning-box h3 {
    color: #FB8500;
    margin-bottom: 10px;
}

.warning-box p {
    color: #E0E0E0;
    font-size: 0.9rem;
}



/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 1rem 0;
    }
    
    .logo-title {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-logo {
        height: 50px;
    }
    
    header h1 {
        font-size: 1.2rem;
    }
    
    header .subtitle {
        font-size: 0.9rem;
    }
    
    .selection-panel {
        margin-top: 0;
        padding: 15px;
    }
    
    .question-title {
        font-size: 1.2rem;
    }
    
    .help-button {
        width: 24px;
        height: 24px;
        font-size: 12px;
        margin-left: 8px;
    }
    
    .question-title-wrapper {
        gap: 8px;
    }
    
    .multi-question-title-wrapper {
        gap: 8px;
    }
    
    .help-popup {
        padding: 20px;
        max-width: 90%;
    }
    
    .help-popup-title {
        font-size: 1.1rem;
    }
    
    .help-popup-content {
        font-size: 0.95rem;
    }
    
    
    
    .navigation-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-button {
        width: 100%;
        justify-content: center;
    }
    
    .results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-button {
        width: 100%;
        max-width: 250px;
    }
    
         .torso-image {
         max-height: 300px;
     }
     
     .pain-circle {
         width: 16px;
         height: 16px;
     }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selection-panel, .results-container {
    animation: fadeIn 0.3s ease-in-out;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
    }
    
    .container {
        box-shadow: none;
    }
    
    .selection-panel, .results-container {
        box-shadow: none;
        border: 1px solid #e9ecef;
    }
    
    .nav-button {
        display: none;
    }
    
    .navigation-section {
        display: none;
    }
}

/* Google Translate Styles */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.goog-te-gadget {
    font-family: inherit !important;
    font-size: 14px !important;
    color: #333 !important;
}

#google_translate_element {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 14px;
    color: #fff4f4;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 50%;
    margin: 0 auto;
}

#google_translate_element select:hover {
    border-color: #2196F3;
}

#google_translate_element select:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.goog-te-gadget .goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    color: #333 !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-gadget-simple {
    background-color: #fff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.goog-te-gadget-simple:hover {
    border-color: #2196F3 !important;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
}

#google_translate_element {
    margin-top: 15px;
}

/* Summary Page Styles */
.summary-container {
    width: 100%;
    max-width: 800px;
    background: rgba(248, 249, 250, 0.95);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 30px;
}

.summary-header {
    text-align: center;
    margin-bottom: 30px;
}

.summary-header h2 {
    background: linear-gradient(45deg, #FFB703, #FB8500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 10px 0;
}

.summary-subtitle {
    color: #666;
    font-size: 16px;
}

.summary-content {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 30px;
    padding-right: 10px;
}

.summary-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Additional CSS Classes for JavaScript inline styles */

/* Validation and helper messages */
.validation-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.validation-message.show {
    display: block;
}

/* Unknown NHS number section */
.unknown-checkbox-wrapper {
    margin-top: 10px;
}

.unknown-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Names container for NHS unknown */
.names-container {
    display: none;
    margin-top: 10px;
    gap: 10px;
    flex-wrap: wrap;
}

.names-container.show {
    display: block;
}

.names-layout {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.names-layout input {
    flex: 1 1 200px;
}

.names-help {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

/* Date input styling */
.date-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.date-select {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    flex: 1;
}

/* Match the flex proportions of the labels using data attributes */
.date-select[data-date-type="day"] { flex: 1; }
.date-select[data-date-type="month"] { flex: 1.5; }
.date-select[data-date-type="year"] { flex: 1; }

.date-select:hover {
    border-color: #4dabf7;
}

.date-select:focus {
    border-color: #4dabf7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
}

.date-label-row {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    width: 100%;
    max-width: 400px;
}

.date-label {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.date-label:nth-child(1) { flex: 1; }
.date-label:nth-child(2) { flex: 1.5; }
.date-label:nth-child(3) { flex: 1; }

/* Slider instruction text */
.slider-instruction {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
    font-style: italic;
}

.slider-blue-text {
    color: #00B4D8;
    font-weight: 600;
}

/* Warning message for slider */
.warning-message {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #856404;
}

.warning-message i {
    margin-right: 10px;
    color: #ffc107;
}

/* Skip recording button */
.skip-recording-button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.skip-recording-button:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
}

/* Summary item styling */
.summary-item {
    background-color: #f8f9fa;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.summary-question {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.summary-answer {
    color: #555;
    padding-left: 10px;
}

/* Input disabled state */
.input-disabled {
    background-color: #f0f0f0 !important;
    cursor: not-allowed !important;
}

/* Numeric scale labels */
.scale-label-wrapper {
    position: absolute;
}

.scale-label-wrapper.left-edge {
    transform: translateX(0%);
    text-align: left;
}

.scale-label-wrapper.right-edge {
    transform: translateX(-100%);
    text-align: right;
}

.scale-label-wrapper.center {
    transform: translateX(-50%);
    text-align: center;
}

.scale-tick {
    width: 2px;
    height: 8px;
    background-color: #ced4da;
    margin: 0 auto 5px;
}

.scale-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    max-width: 30px;
}

/* Hide elements */
.hidden {
    display: none !important;
}

/* Show elements */
.show {
    display: block !important;
}

/* Flex show */
.flex-show {
    display: flex !important;
} 