/* Reset and base styles */
* {
    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, #eef1fc 0%, #faf7fd 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    margin-bottom: 60px;
    padding-top: 40px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content > div:first-child {
    text-align: left;
    flex: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.username {
    font-weight: 600;
    color: #4a5568;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ef4444;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.title {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Navigation Steps */
.steps-nav {
    display: flex;
    justify-content: center;
    margin: 60px 0 40px 0;
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    /*max-width: 800px;*/
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #718096;
    font-weight: 500;
    margin: 0 8px;
    flex: 1;
    justify-content: center;
    min-width: 140px;
}

.step.active {
    background: #4299e1;
    color: white;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.step:hover:not(.active) {
    background: #f7fafc;
    color: #4a5568;
    transform: translateY(-2px);
}

.step i {
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    margin-bottom: 30px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.section-subtitle {
    color: #718096;
    margin-bottom: 25px;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #4299e1;
    background: #f7fafc;
}

.upload-area.dragover {
    border-color: #4299e1;
    background: #ebf8ff;
}

.upload-icon {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 15px;
}

.upload-area p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 5px;
}

.upload-hint {
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Format Requirements */
.format-requirements {
    background: #ebf8ff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.format-requirements h3 {
    color: #2b6cb0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.format-requirements ul {
    list-style: none;
    margin-bottom: 15px;
}

.format-requirements li {
    color: #4a5568;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.format-requirements li:before {
    content: "•";
    color: #4299e1;
    position: absolute;
    left: 0;
}

.examples {
    border-top: 1px solid #bee3f8;
    padding-top: 15px;
}

.examples p {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #4299e1;
    color: white;
}

.btn-primary:hover {
    background: #3182ce;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-danger:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

/* Status Cards */
.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.status-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.status-number.successful {
    color: #38a169;
}

.status-number.failed {
    color: #e53e3e;
}

.status-number.pending {
    color: #3182ce;
}

.status-label {
    color: #718096;
    font-size: 0.9rem;
}

/* Progress Bar */
.progress-section {
    margin-bottom: 30px;
}

.progress-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: #4299e1;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: #718096;
    font-size: 0.9rem;
}

/* Results Overview */
.results-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-card i {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.result-card i.fa-check-circle {
    color: #38a169;
}

.result-card i.fa-times-circle {
    color: #e53e3e;
}

.result-card i.fa-clock {
    color: #3182ce;
}

.result-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.result-label {
    color: #718096;
    font-size: 0.9rem;
}

/* Detailed Results */
.detailed-results {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-header h3 {
    color: #2d3748;
    font-size: 1.3rem;
}

.results-actions {
    display: flex;
    gap: 10px;
}

.submission-log {
    min-height: 200px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
}

.no-data {
    text-align: center;
    color: #a0aec0;
    padding: 40px;
}

/* Results Table */
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.results-table th,
.results-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.results-table th {
    background: #f7fafc;
    font-weight: 600;
    color: #4a5568;
}

.results-table tr:hover {
    background: #f7fafc;
}

.results-table td {
    color: #4a5568;
}

.results-table .status-successful {
    color: #38a169;
    font-weight: 500;
}

.results-table .status-failed {
    color: #e53e3e;
    font-weight: 500;
}

/* Disclaimer */
.disclaimer {
    background: #fed7d7;
    border: 1px solid #feb2b2;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.disclaimer-content h3 {
    color: #c53030;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.disclaimer-content p {
    color: #742a2a;
    margin-bottom: 10px;
}

.disclaimer-content ul {
    list-style: none;
    padding-left: 0;
}

.disclaimer-content li {
    color: #742a2a;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.disclaimer-content li:before {
    content: "•";
    color: #c53030;
    position: absolute;
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .steps-nav {
        flex-direction: column;
        gap: 8px;
        margin: 40px 0 30px 0;
    }
    
    .step {
        justify-content: center;
        margin: 0;
        min-width: auto;
    }
    
    .status-cards,
    .results-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .results-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .status-cards,
    .results-overview {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 20px;
    }
    
    .upload-area {
        padding: 30px 20px;
    }
} 