/* Main styles for OSH Bank Transaction Analyzer */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    transition: all 0.3s ease;
}

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

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Upload Section Styles */
.upload-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.upload-area {
    border: 3px dashed #667eea;
    border-radius: 15px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f2ff 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    background: linear-gradient(135deg, #eef1ff 0%, #e5e9ff 100%);
    transform: scale(1.02);
}

.upload-area.dragover {
    background: linear-gradient(135deg, #e5e9ff 0%, #d5dbff 100%);
    border-color: #764ba2;
}

.upload-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

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

.upload-subtext {
    color: #666;
    font-size: 0.9em;
}

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

.file-info {
    margin-top: 20px;
    padding: 15px;
    background: #f0f4ff;
    border-radius: 10px;
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.loading {
    display: none;
    margin: 20px 0;
}

.loading.show {
    display: block;
}

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

.error-message {
    background: #fee;
    color: #c00;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: none;
    animation: shake 0.5s ease;
}

.error-message.show {
    display: block;
}

/* Footer Links */
.footer-links {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    font-size: 0.85rem;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links span {
    color: #ccc;
    margin: 0 5px;
}
