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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.supported-banks {
    background: transparent;
    padding: 30px 0;
    margin-top: 30px;
}

.supported-banks h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.bank-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.bank-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    padding: 8px;
    background: #e9ecef;
    border-radius: 6px;
}

.bank-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 5px;
}

.bank-cards {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

main {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.upload-section h2 {
    margin-bottom: 20px;
    color: #333;
}

input[type="file"] {
    display: block;
    width: 100%;
    padding: 15px;
    border: 2px dashed #667eea;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 14px;
}

input[type="file"]:hover {
    border-color: #764ba2;
}

#fileList {
    margin-bottom: 20px;
    color: #666;
}

button, .download-btn {
    display: inline-block;
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s;
}

button:hover, .download-btn:hover {
    transform: translateY(-2px);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

#processing {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

#result {
    text-align: center;
    padding: 40px;
}

#result h2 {
    color: #10b981;
    margin-bottom: 15px;
}

.chart-container {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.chart-container h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.chart-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.error-box {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.error-box h3 {
    color: #c00;
    margin-bottom: 10px;
}
