/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

h2 {
    margin-bottom: 1rem;
    color: #34495e;
}

/* Steps */
.step {
    display: none;
}
.step.active {
    display: block;
}

.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #555;
}

input, select, textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

small {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.step-hint {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-style: italic;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

button {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.next-btn, .submit-btn {
    background: #3498db;
    color: white;
}
.next-btn:hover, .submit-btn:hover {
    background: #2980b9;
}

.prev-btn {
    background: #ecf0f1;
    color: #333;
}
.prev-btn:hover {
    background: #d5dbdb;
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

/* File upload */
.file-entry {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    transition: opacity 0.2s, transform 0.2s;
    flex-direction: column;
}
.entry-wraper{
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.5rem;
}

.file-input {
    flex: 1;
}

.remove-file-btn {
    background: transparent;
    border: 1px solid #ddd;
    color: #95a5a6;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.remove-file-btn:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
    transform: scale(1.1);
}

.add-file-btn {
    background: #2ecc71;
    color: white;
    margin-bottom: 1rem;
}
.add-file-btn:hover {
    background: #27ae60;
}
/* ========== Progress Bar ========== */
.progress-container {
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

#progressPercent {
    font-weight: 600;
    color: #3498db;
}

.progress-bar-wrapper {
    width: 100%;
    height: 12px;
    background: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

/* Shimmer animation while uploading */
.progress-bar.animating::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* Completed state */
.progress-bar.complete {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

/* Error state */
.progress-bar.error {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    width: 100% !important;
}