

.upload-container {
    max-width: 600px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow-hover);
    backdrop-filter: blur(var(--backdrop-blur));
}

.upload-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--text-primary);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(136, 216, 192, 0.1);
}

.form-group input[type="text"] {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(136, 216, 192, 0.1);
}

.file-input {
    padding: 20px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.file-input:hover {
    border-color: var(--color-primary);
    background: rgba(136, 216, 192, 0.1);
}

.file-input input[type="file"] {
    display: none;
}

.file-input-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    display: block;
    cursor: pointer;
}

.file-input-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.5;
}

.selected-file {
    margin-top: 15px;
    padding: 10px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
}

.submit-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--btn-shadow-hover);
}

.submit-button:active {
    transform: translateY(0);
}

.flash-messages {
    margin-bottom: 20px;
}

.flash-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 500;
}

.flash-message.success {
    background: rgba(32, 191, 107, 0.2);
    color: #155724;
    border: 1px solid rgba(32, 191, 107, 0.3);
}

.flash-message.error {
    background: rgba(248, 100, 100, 0.2);
    color: #721c24;
    border: 1px solid rgba(248, 100, 100, 0.3);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: var(--text-primary);
    transform: translateX(-5px);
}

#upload-progress {
    margin-top: 20px;
}

.progress-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .upload-container {
        margin: 30px 20px;
        padding: 30px 20px;
    }
    
    .upload-title {
        font-size: 1.5rem;
    }
    
    .form-group textarea,
    .form-group input[type="text"] {
        padding: 12px;
    }
}
