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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    padding: 40px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}*/

.centered-container{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px 0px;
}

.container-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    padding: 40px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.upload-area {
    border: 3px dashed #667eea;
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9ff;
}

.upload-area:hover {
    border-color: #764ba2;
    background: #f0f2ff;
}

.upload-area.dragover {
    border-color: #764ba2;
    background: #e8ebff;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 60px;
    color: #667eea;
    margin-bottom: 20px;
}

.upload-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.upload-hint {
    font-size: 14px;
    color: #999;
}

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

.btn {
    background: darkgreen;
    display: flex;
    justify-self: flex-end;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.file-info {
    background: black;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    display: none;
}

.file-info.show {
    display: block;
}

.file-name {
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.file-size {
    font-size: 14px;
    color: white;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-top: 20px;
    overflow: hidden;
    display: none;
}

.progress-bar.show {
    display: block;
}

.progress-fill {
    height: 100%;
    background: darkgreen;
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.results {
    margin-top: 30px;
    display: none;
}

.results.show {
    display: block;
}

.result-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.stat-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));*/
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    /*background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;*/

    background: white;
    padding: 10px;
    border-radius: 8px;
    height: fit-content;
    display: flex;
}

.stat-item.success {
    /*text-color: #10b981;*/
}

.stat-item.error {
   /*text-color: #ef4444;*/
}

.stat-item.warning {
    /*text-color: #f59e0b;*/
}

.stat-label {
    /*font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;*/

    padding: inherit;
    text-align: center;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    /*font-size: 28px;
    font-weight: 700;
    color: #333;*/

    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.errors-section, .warnings-section {
    margin-top: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-list, .warning-list {
    background: white;
    border-radius: 8px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.error-item, .warning-item {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.error-item:last-child, .warning-item:last-child {
    border-bottom: none;
}

.error-item {
    color: #dc2626;
}

.warning-item {
    color: #d97706;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

.api-config {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.api-config label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #856404;
}

.api-config input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ffc107;
    border-radius: 5px;
    font-size: 14px;
}