/* Form card */
.form-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border: 1px solid #e5e5e5;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.5em;
    margin-bottom: 8px;
    color: #000;
}

.form-header p {
    color: #666;
    font-size: 0.95em;
}

/* Form steps */
.form-step {
    margin-bottom: 25px;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
    flex-shrink: 0;
}

.step-number.active {
    background: #10b981;
    animation: pulse 2s infinite;
}

.step-label h3 {
    font-size: 1.1em;
    color: #000;
    font-weight: 600;
}

/* Email input */
input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
}

input[type="email"]::placeholder {
    color: #999;
}

input[type="email"]:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

input[type="email"].filled {
    border-color: #10b981;
    background: #f0fdf4;
}

/* File upload zone */
.upload-zone {
    border: 2px dashed #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-zone:hover {
    border-color: #10b981;
    background: #f0fdf4;
}

.upload-zone.has-file {
    border-color: #10b981;
    background: #f0fdf4;
    border-style: solid;
}

.upload-prompt {
    color: #999;
    font-size: 0.95em;
}

.file-name {
    color: #10b981;
    font-weight: 600;
    font-size: 0.95em;
}

/* Code input boxes */
.code-input-container {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.code-box {
    width: 48px;
    height: 56px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
}

.code-box::placeholder {
    color: #ddd;
    font-weight: normal;
    font-size: 0.6em;
}

.code-box:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.code-box.filled {
    border-color: #10b981;
    background: #f0fdf4;
}

.code-box:disabled {
    background: #f9f9f9;
    cursor: not-allowed;
}

/* Result preview */
.result-preview {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-preview:hover {
    border-color: #10b981;
    background: #f0fdf4;
}

.result-preview.ready {
    border-color: #10b981;
    background: #f0fdf4;
}

.result-preview.processing {
    border-color: #f59e0b;
    background: #fffbf0;
}

.mock-cv {
    width: 100%;
    max-width: 250px;
    height: 100px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mock-cv-lines {
    padding: 12px;
}

.mock-cv-line {
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    margin-bottom: 6px;
}

.mock-cv-line:first-child {
    width: 60%;
    background: #10b981;
}

.mock-cv-line:nth-child(2) {
    width: 80%;
}

.mock-cv-line:nth-child(3) {
    width: 70%;
}

.mock-cv-line:nth-child(4) {
    width: 90%;
}

.result-preview strong {
    color: #999;
    font-size: 0.9em;
    display: block;
    font-weight: 500;
}