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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background-color: #C3272E;
    color: white;
    padding: 30px;
    text-align: center;
}

.logo {
    height: 50px;
    margin-bottom: 15px;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
}

.upload-section {
    padding: 40px;
}

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

.file-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f8f8;
    border: 2px dashed #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-label:hover {
    background-color: #fff;
    border-color: #C3272E;
}

.file-icon {
    font-size: 24px;
    margin-right: 10px;
}

.file-text {
    color: #666;
}

.btn-primary {
    background-color: #C3272E;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.btn-primary:hover {
    background-color: #a01f25;
}

#uploadStatus {
    margin-top: 20px;
}

.loading, .success, .error {
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.loading {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.preview-section {
    padding: 40px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.preview-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 22px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: white;
    border-radius: 5px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #C3272E;
    color: white;
    font-weight: 600;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f5f5f5;
}
