body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f5f6f8;
    color: #222;
}

header {
    background: white;
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo {
    height: 55px;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #334;
    font-weight: 500;
    font-size: 16px;
}

nav a.active {
    color: #003366;
    border-bottom: 2px solid #003366;
}

.page {
    width: 900px;
    margin: 40px auto;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.upload-card h2 {
    margin-bottom: 10px;
}

#dropzone {
    border: 2px dashed #bbb;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    margin: 20px 0;
    background: #fafafa;
    cursor: pointer;
    transition: .3s;
}

#dropzone:hover {
    background: #f0f0f0;
}

.drop-icon {
    font-size: 40px;
}

#file-input {
    display: none;
}

button {
    background: #003366;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #022a55;
}

.model-select {
    margin-top: 15px;
}

#loader {
    margin: 30px auto;
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #003366;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.hidden {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#result {
    white-space: pre-wrap;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}
