.contact-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    pointer-events: none;
}

.contact-upload-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    border: 1.5px dashed #c9cdd4;
    border-radius: 12px;
    background-color: #f4f5f7;
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 0;
    user-select: none;
}

.contact-upload-label:hover {
    border-color: #f04f23;
    background-color: #fff5f2;
    box-shadow: 0 0 0 3px rgba(240, 79, 35, 0.1);
}

.contact-upload-label.has-file {
    border-color: #f04f23;
    background-color: #fff5f2;
    border-style: solid;
}

.contact-upload-label .contact-upload-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.contact-upload-label .contact-upload-left .icon {
    color: #f04f23;
    flex-shrink: 0;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.contact-upload-label:hover .contact-upload-left .icon {
    transform: rotate(-10deg);
}

.contact-upload-label .contact-upload-text {
    font-weight: 600;
    font-size: 14px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.contact-upload-label.has-file .contact-upload-text {
    color: #e84118;
}

.contact-upload-hint {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.contact-upload-label.has-file .contact-upload-hint {
    color: #e84118;
}

.contact-form form input[type="text"]:focus,
.contact-form form input[type="email"]:focus,
.contact-form form input[type="tel"]:focus,
.contact-form form textarea:focus {
    border-color: #f04f23;
}