/* ══════════════════════════════════════════════════════════
   EFIVE Careers – Custom File Upload Styles
   ══════════════════════════════════════════════════════════ */

/* ── Upload Zone Container ── */
.efive-upload-zone {
    margin-bottom: 12px;
}

.efive-upload-zone label.efive-upload-label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #1c1c18;
    margin-bottom: 8px;
}

.efive-upload-zone label .efive-upload-required {
    color: #ba1a1a;
    margin-left: 2px;
}

/* ── Drop Area ── */
.efive-upload-droparea {
    position: relative;
    border: 2px dashed #c1c8c2;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    background-color: #faf8f4;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.efive-upload-droparea:hover {
    border-color: #3f6653;
    background-color: #f0ede6;
}

.efive-upload-droparea.efive-drag-over {
    border-color: #012d1d;
    background-color: #e6f0eb;
    box-shadow: 0 0 0 3px rgba(1, 45, 29, 0.12);
}

.efive-upload-droparea.efive-uploading {
    pointer-events: none;
    opacity: 0.7;
}

/* ── Prompt (icon + text) ── */
.efive-upload-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.efive-upload-prompt .efive-upload-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, #012d1d, #1b4332);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5d0b9;
    font-size: 22px;
    transition: transform 0.3s ease;
}

.efive-upload-droparea:hover .efive-upload-icon {
    transform: scale(1.08);
}

.efive-upload-prompt .efive-upload-text-main {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #012d1d;
}

.efive-upload-prompt .efive-upload-text-main span {
    color: #a86b24;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.efive-upload-prompt .efive-upload-text-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #717973;
}

/* ── Progress Bar ── */
.efive-upload-progress {
    display: none;
    height: 4px;
    background-color: #e5e2db;
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.efive-upload-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #012d1d, #3f6653);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* ── File Preview ── */
.efive-upload-preview {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: #e6f0eb;
    border: 1px solid #a5d0b9;
    border-radius: 10px;
    margin-top: -2px;
}

.efive-upload-preview .efive-upload-file-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(145deg, #012d1d, #1b4332);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5d0b9;
    font-size: 18px;
    flex-shrink: 0;
}

.efive-upload-preview .efive-upload-fileinfo {
    flex: 1;
    min-width: 0;
}

.efive-upload-preview .efive-upload-filename {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #012d1d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.efive-upload-preview .efive-upload-filesize {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    color: #717973;
}

.efive-upload-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #c1c8c2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #717973;
    font-size: 16px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.efive-upload-remove:hover {
    background: #ffdad6;
    border-color: #ba1a1a;
    color: #ba1a1a;
}

/* ── Status Message ── */
.efive-upload-status {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    margin-top: 6px;
    min-height: 18px;
    transition: color 0.2s ease;
}

.efive-upload-status--success {
    color: #3f6653;
}

.efive-upload-status--error {
    color: #ba1a1a;
}

.efive-upload-status--info {
    color: #a86b24;
}

/* ── Hidden native input ── */
.efive-upload-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .efive-upload-droparea {
        padding: 20px 16px;
    }

    .efive-upload-prompt .efive-upload-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .efive-upload-prompt .efive-upload-text-main {
        font-size: 13px;
    }
}
