.call-file-drop-target {
    outline: 3px solid rgba(96, 220, 145, 0.95);
    outline-offset: -6px;
    box-shadow: 0 0 0 999px rgba(15, 22, 34, 0.14) inset;
}

.call-file-incoming.hidden {
    display: none !important;
}

.call-file-incoming {
    position: fixed;
    inset: 0;
    z-index: 1003004;
}

.call-file-incoming__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 10, 18, 0.72);
}

.call-file-incoming__sheet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(380px, calc(100vw - 24px));
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(90, 118, 152, 0.72);
    background: rgb(36 49 65);
    color: white;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.call-file-incoming__title {
    font-size: 1.12rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.call-file-incoming__file {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(13, 21, 33, 0.72);
}

.call-file-incoming__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.call-file-incoming__size {
    color: rgba(220, 232, 255, 0.72);
}

.call-file-incoming__actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.call-file-incoming__actions button,
.call-file-progress__close,
.call-file-progress__download {
    border: none;
    border-radius: 12px;
    background: #343c63;
    color: white;
    cursor: pointer;
}

.call-file-incoming__actions button {
    flex: 1;
    padding: 11px 14px;
    font-weight: 800;
}

.call-file-progress {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1003004;
    width: min(340px, calc(100vw - 24px));
    box-sizing: border-box;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(90, 118, 152, 0.72);
    background: rgba(36, 49, 65, 0.98);
    color: white;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.call-file-progress__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    cursor: grab;
}

.call-file-progress__title {
    font-weight: 900;
}

.call-file-progress__name {
    max-width: 250px;
    margin-top: 3px;
    color: rgba(220, 232, 255, 0.78);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.call-file-progress__close {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    font-size: 1.15rem;
}

.call-file-progress__meta,
.call-file-progress__text {
    margin-top: 10px;
    color: rgba(220, 232, 255, 0.75);
    font-size: 0.9rem;
}

.call-file-progress__bar {
    height: 8px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.call-file-progress__bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #62e09b, #8b8cff);
    transition: width 0.16s ease;
}

.call-file-progress__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 9px 12px;
    text-decoration: none;
    font-weight: 800;
}
