:root {
    --primary-color: #ffcc00;
    --secondary-color: #ff6699;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Noto Sans KR', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: var(--card-bg);
    max-width: 500px;
    width: 100%;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

header p {
    color: #666;
    margin-bottom: 30px;
}

.screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.icon-group {
    font-size: 5rem;
    margin: 20px 0;
    display: flex;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #f0c000;
}

.btn-secondary {
    background-color: #eee;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
}

.info {
    font-size: 0.9rem;
    color: #999;
}

.image-preview-container {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    border: 8px solid #fff;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

#preview-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#label-container {
    width: 100%;
    margin-top: 20px;
}

.prediction-row {
    margin-bottom: 10px;
    text-align: left;
}

.label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.progress-bar-container {
    background-color: #eee;
    height: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

#result-message {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0;
    padding: 15px;
    background-color: #fff9db;
    border-radius: 15px;
    border: 2px dashed var(--primary-color);
}
