.registration-file {
    display: flex;
    min-height: 76px;
    margin: 0;
    padding: 14px 16px;
    align-items: center;
    gap: 12px;
    border: 1px dashed #b8cbd0;
    border-radius: 12px;
    background: #f8fcfd;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

.registration-file:hover {
    border-color: #55a6b3;
    background: #f2fafb;
}

.registration-file.has-files {
    border-style: solid;
    border-color: #81b7c0;
    background: #f2fafb;
}

.registration-file.has-files .registration-file__action {
    color: #2f707b;
    background: rgba(85, 166, 179, .12);
    box-shadow: none;
}

.registration-file__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(85, 166, 179, .12);
    color: #398693;
    font-size: 20px;
}

.registration-file__text {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    line-height: 1.35;
}

.registration-file__text strong {
    overflow: hidden;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
}

.registration-file__text small {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
}

.registration-file__action {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    color: #397f8a;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
}

.registration-file__input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.registration-file:focus-within {
    outline: 2px solid #55a6b3;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .registration-file {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .registration-file__action {
        width: 100%;
        margin-top: 2px;
        text-align: center;
    }
}
