/* Custom styles for S3 Upload Application */

/* Main styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.container {
    max-width: 900px;
}

/* Upload area styles */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 5px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.upload-area:hover, .upload-area.dragover {
    border-color: #6c757d;
    background-color: #e9ecef;
}

.upload-area svg {
    color: #6c757d;
}

/* Upload progress styles */
.progress {
    height: 20px;
    margin-bottom: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.file-item .file-name {
    flex-grow: 1;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-item .file-size {
    color: #6c757d;
    margin-right: 10px;
    font-size: 0.9em;
}

.file-item .file-remove {
    cursor: pointer;
    color: #dc3545;
}

/* Upload history styles */
.upload-success {
    border-left: 4px solid #28a745;
}

.upload-error {
    border-left: 4px solid #dc3545;
}

.list-group-item-action {
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s;
}

/* User info section */
#user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .file-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .file-item .file-name {
        margin-bottom: 5px;
    }
} 