/* General Styles */
body {
    background-color: #252642;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: white;
}

.container-fluid {
    flex: 1;
}

/* Logo Styles */
.logo-container {
    padding: 2rem 0;
}

.main-logo {
    max-width: 200px;
    height: auto;
}

.form-logo,
.loading-logo,
.results-logo {
    max-width: 150px;
    height: auto;
}

/* Landing Page Styles */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Language Toggle */
.language-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
}

.language-toggle .btn-link {
    color: white;
    text-decoration: none;
    opacity: 0.5;
    font-size: 0.9rem;
    padding: 0;
}

.language-toggle .btn-link:hover {
    opacity: 1;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-content {
    text-align: center;
    width: 100%;
    transform: translateY(-80px);
}

.main-logo {
    max-width: 75px;
    height: auto;
    margin-bottom: 1rem;
}

/* Start Button */
.start-btn {
    font-size: 2rem;
    margin-top: 50px;
    width: 150px;
    height: 150px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: linear-gradient(180deg, #04BBFF 0%, #1961DE 100%);
    border: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 40px);
    transition: transform 0.3s ease;
}

.start-btn:hover {
    background: linear-gradient(180deg, #04BBFF 0%, #1961DE 100%);
    transform: translate(-50%, 40px) scale(1.05);
}

/* Footer */
.footer-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
}

.footer-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partner-logo {
    max-width: 80px;
    height: auto;
}

.yoneda-logo {
    margin-right: auto;
}

.far-beyond-logo {
    margin-left: auto;
    max-width: 100px;
}

/* Header Styles */
.site-header {
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    padding-top: 1rem;
    padding-left: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    height: 40px;
    width: auto;
}

.brand-text {
    color: white;
    font-size: 1.2rem;
}

.header-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
}

/* Form Page Styles */
.form-page {
    min-height: calc(100vh - 180px);
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.page-title {
    color: #0D99FF;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Form Elements */
.form-label {
    color: white;
    margin-bottom: 1rem;
}

/* Age Select Styling */
.form-select {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select option {
    background-color: #252642;
    color: white;
}

/* Gender and Health Radio Buttons */
.gender-options,
.health-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.gender-options .form-check,
.health-options .form-check {
    margin: 0;
    padding: 0;
    flex: 1;
}

.gender-options .form-check-input,
.health-options .form-check-input {
    display: none;
}

.gender-options .form-check-label,
.health-options .form-check-label {
    display: block;
    padding: 0.50rem 0.50rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gender-options .form-check-input:checked + .form-check-label,
.health-options .form-check-input:checked + .form-check-label {
    background-color: rgba(5, 185, 254, 0.5);
    border-color: rgba(5, 185, 254, 1);
}

/* Illnesses Grid */
.illnesses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.illnesses-grid .form-check {
    margin: 0;
    padding: 0;
}

.illnesses-grid .form-check-label {
    font-size: 0.9rem;
}

.illnesses-grid .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.illnesses-grid .form-check-input:checked {
    background-color: #05B9FE;
    border-color: #05B9FE;
}

/* Start Diagnosis Button */
.btn-primary {
    background-color: rgba(5, 185, 254, 0.5);
    border: 2px solid rgba(5, 185, 254, 1);
    border-radius: 30px;
}

.btn-primary:hover {
    background-color: rgba(5, 185, 254, 0.7);
    border-color: rgba(5, 185, 254, 1);
}

/* Staff Note */
.staff-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    margin-bottom: 0;
}

/* Loading Page Styles */
.loading-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.loading-container {
    max-width: 400px;
    width: 100%;
}

.spinner-border {
    width: 4rem;
    height: 4rem;
}

/* Results Page Styles */
.results-page {
    min-height: 100vh;
    padding: 1rem;
}

.results-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.metric-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.metric-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
}

/* Icon colors */
.colored-icon.fa-tint {
    color: #04BBFF !important;
}

.colored-icon.fa-bacteria {
    color: #FF6B6B !important;
}

.colored-icon.fa-shield-virus {
    color: #7C4DFF !important;
}

.colored-icon.fa-moon {
    color: #FFB300 !important;
}

.colored-icon.fa-brain {
    color: #4bff54 !important;
}

.colored-icon.fa-fire {
    color: #FF8F00 !important;
}

.metric-content {
    flex: 1;
}

.metric-content h4 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

/* Analysis Chart Styles */
.analysis-chart {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
}

.chart-container {
    height: 300px;
    margin: 1rem 0;
}

/* Circular Progress Bar Styles */
.overall-health {
    text-align: center;
}

.score-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.circle-progress {
    width: 200px;
    height: 200px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.circular-chart path {
    fill: none;
    stroke: #05B9FE;
    stroke-width: 2.8;
    stroke-linecap: round;
}

.circular-chart .score-text {
    fill: white;
    font-size: 8px;
    text-anchor: middle;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

/* Status Styles */
.status {
    font-weight: bold;
    margin: 0.5rem 0;
}

/* Status colors */
.metric-content .status.good {
    color: #4ade80;
}

.metric-content .status.moderate {
    color: #facc15;
}

.metric-content .status.poor {
    color: #f87171;
}

.metric-content .status.strong {
    color: #00ccff;
}

.description {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.list-group-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .form-container,
    .results-container {
        padding: 1.5rem;
    }

    .partner-logos {
        gap: 1rem;
    }

    .partner-logo {
        max-width: 110px;
    }

    .far-beyond-logo {
        max-width: 140px;
    }
}

/* Chart Styles */
.chart-unified {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.scale-lines {
    position: absolute;
    top: 0;
    left: 110px;
    right: 10px;
    height: 100%;
}

.scale-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.scale-line span {
    position: absolute;
    bottom: -25px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.gauge-group {
    position: relative;
    z-index: 1;
    padding-bottom: 10px;
}

.gauge-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

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

.gauge-label {
    width: 100px;
    color: white;
    font-size: 14px;
    padding-right: 30px;
    text-align: right;
}

.gauge-bar-wrapper {
    flex-grow: 1;
    position: relative;
    border: 1px solid rgba(242, 72, 34, 0.8);
    background-color: rgba(242, 72, 34, 0.4);
    border-radius: 12.5px;
    overflow: hidden;
}

.gauge-bar {
    background-color: rgba(242, 72, 34, 0.8);
    height: 25px;
    position: relative;
    transition: width 1s ease-in-out;
    border-radius: 12.5px;
}

.gauge-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

/* Brand Link Styles */
.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-link:hover {
    opacity: 0.8;
}

/* Ensure icons are visible */
.fas {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
} 