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

.container {
    width: 100%;
    max-width: 800px;
}

.card {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
}

.card-header {
    background: #4361ee;
    color: white;
    padding: 25px;
    text-align: center;
}

.card-header.d-flex {
    justify-content: space-between;
    align-items: center;
}

.user-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-display #userEmailDisplay {
    font-weight: 500;
}

.card-body {
    padding: 40px;
}

.upload-area {
    border: 3px dashed #4361ee;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    background-color: #f8f9ff;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover, .upload-area.dragover {
    background-color: #eef2ff;
    border-color: #3a56d4;
}

.upload-icon {
    font-size: 60px;
    color: #4361ee;
    margin-bottom: 15px;
}

.btn-primary {
    background: #4361ee;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #3a56d4;
}

.btn-success {
    background: #28a745;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-success:hover {
    background: #218838;
}

.btn-outline-primary {
    border-color: #4361ee;
    color: #4361ee;
}

.btn-outline-primary:hover {
    background: #4361ee;
    color: white;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.progress-container {
    display: none;
    margin: 20px 0;
}

.error-message {
    color: #e74c3c;
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    background-color: #ffeaea;
    display: none;
}

.success-message {
    color: #27ae60;
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    background-color: #eafaf1;
    display: none;
}

.xml-output {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    max-height: 200px;
    overflow: auto;
    display: none;
}

.file-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    display: none;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #4361ee;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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