.upload-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.upload-container {
    border: 2px dashed #7338A0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
    user-select: none;
}

.upload-container:hover {
    border-color: #581845;
    background-color: rgba(115, 56, 160, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(115, 56, 160, 0.15);
}

.upload-container.has-file {
    border-color: #28a745;
    background-color: #f8fff8;
}

.upload-container.dragover {
    background: #e3f2fd;
    border-color: #007bff;
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}

.upload-input {
    display: none;
    pointer-events: none;
}

.upload-label {
    display: block;
    font-size: 16px;
    color: #7338A0;
    margin-bottom: 10px;
    font-weight: 500;
}

.upload-hint {
    font-size: 14px;
    color: #666;
}

.preview-container {
    margin-top: 20px;
    display: none;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.file-count-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 2px solid #7338A0;
}

#file-count {
    font-size: 16px;
    font-weight: 600;
    color: #7338A0;
}

.clear-all-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.clear-all-btn:hover {
    background: #c82333;
}

.preview-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto 10px;
}

.remove-image {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.remove-image:hover {
    background-color: #c82333;
}

#file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: #e9ecef;
    border-color: #7338A0;
}

.file-item .file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.file-item .file-icon {
    font-size: 24px;
    min-width: 24px;
}

.file-item .file-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    word-break: break-word;
}

.file-item .file-size {
    font-size: 12px;
    color: #6c757d;
    margin-left: 10px;
    white-space: nowrap;
}

.file-item button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.file-item button:hover {
    background: #c82333;
}

.error-message {
    color: #dc3545;
    margin-top: 10px;
    display: none;
}

.upload-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7338A0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.upload-button:hover {
    background-color: #581845;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(115, 56, 160, 0.3);
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7338A0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #581845;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(115, 56, 160, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #7338A0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(115, 56, 160, 0.25);
}

.success-message {
    background-color: rgba(115, 56, 160, 0.1);
    color: #7338A0;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}
