/* Upload Page Styles */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #1e3d6f;
    --accent-color: #4a90e2;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header-text {
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
main {
    padding: 3rem 0;
    flex: 1;
}

.upload-section {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.upload-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.section-description {
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Form Styles */
.upload-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* File Input Styles */
.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-drop-zone {
    border: 2px dashed #dee2e6;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    position: relative;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
    border-color: var(--accent-color);
    background-color: rgba(74, 144, 226, 0.05);
}

.file-drop-zone i {
    font-size: 3rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
    display: block;
}

.file-drop-zone p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.file-info {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
}

/* Button */
.btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background-color: var(--medium-gray);
    cursor: not-allowed;
    transform: none;
}

/* Progress Bar */
.upload-progress {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    width: 0%;
    transition: width 0.3s ease;
}

#progressText {
    color: var(--medium-gray);
    font-weight: 600;
}

/* Status Messages */
.status-message {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
}

.status-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.status-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.status-message.info {
    background-color: rgba(74, 144, 226, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        height: 60px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .upload-section {
        padding: 2rem 1.5rem;
    }
    
    .file-drop-zone {
        padding: 2rem 1rem;
    }
}