@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');

body {
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
}

.container {
    text-align: center;
    background: white;
    padding: 2rem 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 90%;
}

h1 {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

#controls {
    margin-bottom: 2rem;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.custom-file-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#image-container {
    width: 100%;
    max-width: 480px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #f8f9fa;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#image-preview {
    display: none;
    max-width: 100%;
    max-height: 480px;
    height: auto;
}

#label-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.result-label {
    width: 80px;
    font-weight: bold;
}

.progress-bar-container {
    flex-grow: 1;
    background-color: #e9ecef;
    border-radius: 5px;
    height: 20px;
}

.progress-bar {
    background-color: #28a745;
    height: 100%;
    width: 0;
    border-radius: 5px;
    transition: width 0.1s ease-in-out;
    text-align: right;
    padding-right: 5px;
    color: white;
    font-size: 12px;
    line-height: 20px;
}
