* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    color: #34495e;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #ecf0f1;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: #ecf0f1;
    padding: 10px 20px;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    margin: 0 5px;
    font-weight: 500;
}

.step.active {
    background: #3498db;
    color: white;
}

.step.completed {
    background: #27ae60;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 0.9em;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.btn-next,
.btn-back {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-next {
    background: #3498db;
    color: white;
}

.btn-next:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.btn-back {
    background: #95a5a6;
    color: white;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-back:hover {
    background: #7f8c8d;
}

.error-message {
    background: #ffeaea;
    border: 1px solid #ffcccc;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    color: #d63031;
}

.error-message ul {
    margin-left: 20px;
}

.info-box {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin-top: 30px;
    border-radius: 0 5px 5px 0;
}

.info-box h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.info-box ul {
    margin-left: 20px;
}

.info-box li {
    margin-bottom: 5px;
}

.file-list {
    margin-top: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 10px;
}

.file-item .file-name {
    flex: 1;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message h2 {
    color: #27ae60;
    border: none;
}

.code-display {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin: 20px 0;
    font-family: monospace;
    font-size: 1.2em;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .progress-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .progress-bar::before {
        display: none;
    }
}