.apv-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f3a5f;
    margin: 0 0 16px 0;
}

.apv-upload-box {
    border: 2px dashed #c5cee0;
    border-radius: 12px;
    padding: 36px 24px;
    text-align: center;
    background: #ffffff;
    transition: border-color 120ms ease-in-out, background 120ms ease-in-out;
}

.apv-upload-box.is-dragover {
    border-color: #1f3a5f;
    background: #f5f8ff;
}

.apv-upload-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #4a5a7a;
    margin-bottom: 14px;
}

.apv-upload-box__icon svg {
    width: 100%;
    height: 100%;
}

.apv-upload-box__hint {
    display: block;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 18px;
}

.apv-upload-box__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-weight: 500;
}

.apv-list {
    margin-top: 16px;
    padding: 0;
    list-style: none;
}

.apv-list__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    border-bottom: 1px solid #eef0f4;
    font-size: 14px;
}

.apv-list__item:last-child {
    border-bottom: none;
}

.apv-list__icon {
    color: #16a085;
    font-size: 18px;
    flex-shrink: 0;
}

.apv-list__name {
    color: #1f3a5f;
    word-break: break-all;
    text-decoration: none;
}

.apv-list__name:hover {
    text-decoration: underline;
}

.apv-list__badge {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.apv-list__badge--valida {
    background: #e6f4ea;
    color: #1e7e34;
}

.apv-list__badge--invalida {
    background: #fff4e5;
    color: #b76e00;
}

.apv-list__remove {
    margin-left: auto;
    color: #c0392b;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 8px;
}

.apv-list__assinada {
    margin-left: auto;
    color: #1f3a5f;
    font-size: 0.875rem;
    font-weight: bold;
}

.apv-list__remove:hover {
    background: #fdecea;
    border-radius: 6px;
}

/* ----- Modal de Tipo de Assinatura ----- */

.apv-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f3a5f;
    margin: 0 0 8px 0;
}

.apv-modal-text {
    color: #4a5a7a;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.apv-modal-text__filename {
    color: #1f3a5f;
    font-weight: 600;
    word-break: break-all;
}

.apv-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.apv-btn--ghost {
    background: transparent;
    color: #4a5a7a;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 500;
}

.apv-btn--ghost:hover {
    color: #1f3a5f;
}

.apv-btn--primary {
    background: #1f3a5f;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    cursor: pointer;
    font-weight: 500;
}

.apv-btn--primary:hover:not(:disabled) {
    background: #294a78;
}

.apv-btn--primary:disabled {
    background: #c5cee0;
    color: #ffffff;
    cursor: not-allowed;
}
