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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

h1 {
    font-size: 48px;
    font-weight: 300;
    color: #2c3e50;
    letter-spacing: 2px;
}

.subtitle {
    color: #6c757d;
    font-size: 18px;
    margin-top: 6px;
}

.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 1.5rem 0;
    color: #495057;
    font-size: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.menu a {
    color: #6c757d;
    text-decoration: none;
    font-size: 15px;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    transition: all 0.2s;
}

.menu a:hover,
.menu a.active {
    background: #e9ecef;
    color: #2c3e50;
}

.dropzone {
    border: 2px dashed #ced4da;
    border-radius: 12px;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s;
}

.dropzone:hover {
    border-color: #2c3e50;
    background: #f1f3f5;
}

.dropzone p {
    font-size: 16px;
}

.dropzone span {
    font-size: 13px;
    color: #adb5bd;
}

.files {
    list-style: none;
    text-align: left;
}

.files li {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    font-size: 14px;
}

footer {
    margin-top: 2rem;
    font-size: 13px;
    color: #adb5bd;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.cloud-icon {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.placeholder {
    color: #6c757d;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.placeholder input {
    padding: 0.6rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    width: 100%;
    max-width: 280px;
    font-size: 15px;
    background: #f8f9fa;
    text-align: center;
}

.placeholder button {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: #2c3e50;
    color: #fff;
    font-size: 15px;
    cursor: not-allowed;
    opacity: 0.5;
}

.api-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    color: #6c757d;
    padding: 2rem 1rem;
}

.api-info p {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.api-info code {
    background: #f1f3f5;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    color: #2c3e50;
    font-size: 14px;
    display: block;
    width: 100%;
    max-width: 340px;
    text-align: center;
}

.api-info span {
    font-size: 13px;
    color: #adb5bd;
    margin-top: 0.8rem;
}

#content {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.placeholder input {
    padding: 0.6rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    width: 100%;
    max-width: 280px;
    font-size: 15px;
    background: #fff;
    text-align: center;
    outline: none;
    transition: border 0.2s;
}

.placeholder input:focus {
    border-color: #2c3e50;
}

.placeholder button {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: #2c3e50;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    opacity: 1;
}

.placeholder button:hover {
    background: #1a252f;
}

.error {
    color: #c0392b;
    font-size: 14px;
    min-height: 20px;
}
