body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #212529;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.header {
    text-align: center;
    padding: 0;
    border-bottom: none;
    margin-bottom: 40px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0056b3;
    margin: 0;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: #0056b3;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

ol {
    background: #e9ecef;
    border-left: 4px solid #0056b3;
    padding: 15px 20px 15px 40px;
    margin: 20px 0;
    border-radius: 6px;
}

.card {
    background: #ffffff;
    border: none;
    padding: 30px;
    margin-top: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.card.test-data {
    background-color: #eef7ff;
    margin-bottom: 25px;
}

input[type="file"] {
    border: 1px solid #ced4da;
    padding: 10px;
    border-radius: 6px;
    display: block;
    width: calc(100% - 22px);
    margin-bottom: 20px;
}

button {
    background-color: #0056b3;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #004494;
}

.result-area {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

textarea#char-list {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #fff;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    resize: vertical;
    min-height: 120px;
}

.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #0056b3;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    color: #d9534f;
    background-color: #f2dede;
    border-color: #ebccd1;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

#font-report {
    margin-top: 20px;
}

.font-report-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
}

.font-report-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0056b3;
}

.status-supported {
    color: #28a745;
    font-weight: 600;
}

.status-missing {
    color: #fd7e14;
    font-weight: 600;
}

.status-error {
    color: #dc3545;
    font-weight: 600;
}

#font-report ul {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 0;
    list-style-type: none;
}

#font-report li {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    background-color: #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 5px;
    display: inline-block;
    margin-right: 5px;
}
