body {
    font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    background-color: #f0f4f8;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
}

h1 {
    margin-top: 0;
    color: #2c3e50;
}

.video-container {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    justify-content: center;
    align-items: center;
}

video, img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

button, .upload-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-block;
    box-sizing: border-box;
    font-family: inherit;
}

button:hover, .upload-btn:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.upload-wrapper {
    position: relative;
}

#upload-input {
    display: none;
}

/* Survey styles */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #2ecc71;
    width: 0%;
    transition: width 0.3s ease;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.option-btn {
    background-color: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    padding: 12px;
    border-radius: 8px;
    text-align: left;
    transition: all 0.2s;
}

.option-btn:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.survey-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

/* Result styles */
.result {
    text-align: left;
}

.result h2 {
    color: #2c3e50;
    text-align: center;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.score-board {
    text-align: center;
    background: #fdfae5;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.score-label {
    display: block;
    font-size: 1.2rem;
    color: #7f8c8d;
}

.score-value {
    font-size: 3rem;
    font-weight: bold;
    color: #f39c12;
}

.result-details {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.detail-item {
    margin-bottom: 8px;
    line-height: 1.5;
}

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

.word-of-day {
    background-color: #e8f8f5;
    padding: 15px;
    border-left: 4px solid #1abc9c;
    border-radius: 4px;
    margin-bottom: 20px;
}

.word-of-day h3 {
    margin-top: 0;
    color: #16a085;
    font-size: 1.1rem;
}

.action-items {
    background-color: #ebf5fb;
    padding: 15px;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    margin-bottom: 20px;
}

.action-items h3 {
    margin-top: 0;
    color: #2980b9;
    font-size: 1.1rem;
}

.action-items ul {
    margin: 0;
    padding-left: 20px;
}

.action-items li {
    margin-bottom: 5px;
}

.disclaimer {
    font-size: 0.85rem;
    color: #7f8c8d;
    text-align: left;
    background-color: #f2f4f4;
    padding: 12px;
    border-radius: 6px;
    margin-top: 20px;
    line-height: 1.4;
}

.main-disclaimer {
    font-size: 0.85rem;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.4;
}
/* Add to the end of public/style.css */
.metrics-section {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.metrics-section h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #34495e;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 8px;
}

.metric {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.metric:last-child {
    margin-bottom: 0;
}

.metric-label {
    width: 110px;
    font-size: 0.9rem;
    color: #555;
    font-weight: bold;
}

.metric-bar-bg {
    flex-grow: 1;
    height: 12px;
    background-color: #ecf0f1;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 10px;
}

.metric-bar-fill {
    height: 100%;
    width: 0%;
    transition: width 1s ease-out;
}

.fill-vitality { background-color: #2ecc71; }
.fill-stress { background-color: #e74c3c; }
.fill-eye { background-color: #9b59b6; }
.fill-hydration { background-color: #3498db; }

.metric-val {
    width: 40px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: bold;
    color: #2c3e50;
}
